diff options
| author | Roy Marples <roy@marples.name> | 2013-08-25 10:22:48 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2013-08-25 10:22:48 +0000 |
| commit | 15fc1181d54a92fd48427c77fb3615a39774511a (patch) | |
| tree | 707db2512aebda7d2fe5bc2de9d12d6382688358 /ipv6nd.c | |
| parent | 68662728f75d9cd530c064420e9f9ee13d731325 (diff) | |
| download | dhcpcd-15fc1181d54a92fd48427c77fb3615a39774511a.tar.xz | |
Fix the persistent option.
Diffstat (limited to 'ipv6nd.c')
| -rw-r--r-- | ipv6nd.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1268,7 +1268,10 @@ ipv6nd_drop(struct interface *ifp) ipv6nd_drop_ra(rap); } ipv6_buildroutes(); - script_runreason(ifp, "ROUTERADVERT"); + if ((ifp->options->options & + (DHCPCD_EXITING | DHCPCD_PERSISTENT)) != + (DHCPCD_EXITING | DHCPCD_PERSISTENT)) + script_runreason(ifp, "ROUTERADVERT"); } } static void |
