Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
Minor fix in Makefile and bump to v1.1.1
Browse files Browse the repository at this point in the history
Signed-off-by: Petr Ospalý <[email protected]>
  • Loading branch information
Petr Ospalý committed Jun 1, 2021
1 parent db1d270 commit d3d3323
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

In this file are documented all changes and versions of the ISC Kea **`ONElease4`** hook library, which adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## `[v1.1.1]` - 2021.06

- Fixed missing default value in Makefile for `KEA_INSTALLPREFIX`
- Adjusted paths in docs for default (system) ISC Kea installation
- Supported ISC Kea: `1.6` and `1.8`
- Verified builds for:

- `1.8.2`

## `[v1.1.0]` - 2021.06

- Added support for applying ONElease4 hook to specific subnets (more than one)
Expand Down
3 changes: 3 additions & 0 deletions Makefile.config
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Hook library name
LIBHOOK = libkea-onelease-dhcp4.so

# ISC Kea install location
KEA_INSTALLPREFIX ?= /usr

# Source code directory
SOURCE_DIR = ./src

Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Documentation for Kea and hooks:

## Kea ONElease4 Hook

### Version: `1.1.0`
### Version: `1.1.1`

This is quite a simple hook to assign ONE lease for a client based on its HW (MAC) address. It will work properly only if clients have HW addresses generated in a particular way: **the last four bytes represent an IPv4 address**

Expand Down Expand Up @@ -61,7 +61,7 @@ To enable and use this hook - insert similar json under `hooks-libraries` in you
"hooks-libraries": [
...
{
"library": "/opt/kea/lib/kea/hooks/libkea-onelease-dhcp4.so",
"library": "/usr/lib/kea/hooks/libkea-onelease-dhcp4.so",
"parameters": {
"enabled": true,
"byte-prefix": "00:02",
Expand All @@ -79,7 +79,7 @@ To enable and use this hook - insert similar json under `hooks-libraries` in you

```
{
"library": "/opt/kea/lib/kea/hooks/libkea-onelease-dhcp4.so"
"library": "/usr/lib/kea/hooks/libkea-onelease-dhcp4.so"
}
```

Expand Down

0 comments on commit d3d3323

Please sign in to comment.