diff options
Diffstat (limited to 'src/nm-iface-helper.c')
| -rw-r--r-- | src/nm-iface-helper.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/nm-iface-helper.c b/src/nm-iface-helper.c index 20a0b674..df70c71b 100644 --- a/src/nm-iface-helper.c +++ b/src/nm-iface-helper.c @@ -552,10 +552,14 @@ main (int argc, char *argv[]) stable_type = (global_opt.stable_id[0] - '0'); stable_id = &global_opt.stable_id[2]; } - ndisc = nm_lndp_ndisc_new (NM_PLATFORM_GET, gl.ifindex, global_opt.ifname, - stable_type, stable_id, + ndisc = nm_lndp_ndisc_new (NM_PLATFORM_GET, + gl.ifindex, + global_opt.ifname, + stable_type, + stable_id, global_opt.addr_gen_mode, NM_NDISC_NODE_TYPE_HOST, + NM_RA_TIMEOUT_DEFAULT, NULL); g_assert (ndisc); @@ -573,7 +577,7 @@ main (int argc, char *argv[]) G_CALLBACK (ndisc_config_changed), NULL); g_signal_connect (ndisc, - NM_NDISC_RA_TIMEOUT, + NM_NDISC_RA_TIMEOUT_SIGNAL, G_CALLBACK (ndisc_ra_timeout), NULL); nm_ndisc_start (ndisc); |