diff options
| author | Roy Marples <roy@marples.name> | 2017-05-15 09:59:52 +0100 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2017-05-15 09:59:52 +0100 |
| commit | 9fca379b40e472e65435ad2b1636f3b4524b0fab (patch) | |
| tree | 9f8f1989ccdc42d21a219881f616d2df46ba9175 /src/dhcpcd.c | |
| parent | 94fc2b722eb0470514c4cf997e1e3af074933792 (diff) | |
| download | dhcpcd-9fca379b40e472e65435ad2b1636f3b4524b0fab.tar.xz | |
Warn about IA_PD support not being compiled in when requesting it
in dhcpcd.conf.
Remove more IA_PD code to reduce small binary.
Diffstat (limited to 'src/dhcpcd.c')
| -rw-r--r-- | src/dhcpcd.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dhcpcd.c b/src/dhcpcd.c index ce5fb447..0d7676cc 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -532,8 +532,10 @@ configure_interface1(struct interface *ifp) ifo->ia->ia_type = D6_OPTION_IA_NA; memcpy(ifo->ia->iaid, ifo->iaid, sizeof(ifo->iaid)); memset(&ifo->ia->addr, 0, sizeof(ifo->ia->addr)); +#ifndef SMALL ifo->ia->sla = NULL; ifo->ia->sla_len = 0; +#endif } } else { size_t i; |
