4 Commits

Author SHA1 Message Date
Andrea Barberio
3e32ddb5ac Fix dependabot warnings, bump Go vesions to 1.19 and 1.20
Updated all the dependencies and addressed dependabot warnings from 12
to 20, starting at
https://github.com/coredhcp/coredhcp/security/dependabot/12 .
This also required dropping Go 1.14/1.15 and bump to the latest two
versions, 1.19 and 1.20.

Signed-off-by: Andrea Barberio <insomniac@slackware.it>
2023-08-08 21:50:49 +02:00
Anatole Denis
77ed8c8872 Update dhcp library to latest upstream
There were many changes in the interfaces with the introduction of the
getters. I've fixed the compilation failures, but there must be several
other places we can probably simplify the code

Signed-off-by: Anatole Denis <anatole@unverle.fr>
2020-04-21 20:35:10 +02:00
Marc-André Lureau
b4aa45e6f7 serverid: fix v4ServerID copy
net.IP can be 16 bytes, let's copy the To4 version which should be 4 bytes.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2020-02-13 23:29:15 +00:00
Andrea Barberio
8bd5261895 Register plugins explicitly
Fixes #45
Do not use `init()` magic to register plugins, do it explicitly. This is
done by requiring plugins to declare a populated `Plugin` symbol of type
`plugins.Plugin`.

Signed-off-by: Andrea Barberio <insomniac@slackware.it>
2020-02-07 15:58:02 +00:00