diff options
| author | Roy Marples <roy@marples.name> | 2020-11-04 14:18:48 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2020-11-04 14:18:48 +0000 |
| commit | e9dfc2416bc5ff97166905cbb69e71dd2be6411a (patch) | |
| tree | df5dadc4500f91e4b559efb8cc82a8e4e23f44be /src/ipv6.c | |
| parent | d5565ba4c5306332c2b6f00aef184579beb31e33 (diff) | |
| download | dhcpcd-e9dfc2416bc5ff97166905cbb69e71dd2be6411a.tar.xz | |
Add --noconfigure option
With this set dhcpcd will not configure anything on the host.
The expectation is that a 3rd party script will instead.
Diffstat (limited to 'src/ipv6.c')
| -rw-r--r-- | src/ipv6.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1416,6 +1416,9 @@ ipv6_addlinklocal(struct interface *ifp) struct ipv6_addr *ap, *ap2; int dadcounter; + if (!(ifp->options->options & DHCPCD_CONFIGURE)) + return 0; + /* Check sanity before malloc */ if (!(ifp->options->options & DHCPCD_SLAACPRIVATE)) { switch (ifp->hwtype) { |
