n-dhcp4: re-import git-subtree for 'src/n-dhcp4'

git subtree pull --prefix src/n-dhcp4 git@github.com:nettools/n-dhcp4.git master --squash
This commit is contained in:
Thomas Haller
2023-05-09 08:53:48 +02:00
3 changed files with 2 additions and 2 deletions

View File

@@ -26,6 +26,7 @@ global:
n_dhcp4_client_pop_event;
n_dhcp4_client_update_mtu;
n_dhcp4_client_probe;
n_dhcp4_client_set_log_level;
n_dhcp4_client_probe_free;
n_dhcp4_client_probe_get_userdata;

View File

@@ -44,7 +44,6 @@ libndhcp4_shared = shared_library(
soversion: 0,
link_depends: libndhcp4_symfile,
link_args: [
'-Wl,--no-undefined',
'-Wl,--version-script=@0@'.format(libndhcp4_symfile)
],
)

View File

@@ -597,7 +597,7 @@ static int parse_argv(int argc, char **argv) {
break;
case ARG_REQUESTED_IP:
r = inet_aton(optarg, &main_arg_requested_ip);
r = inet_pton(AF_INET, optarg, &main_arg_requested_ip);
if (r != 1) {
fprintf(stderr,
"%s: invalid requested IP -- '%s'\n",