summaryrefslogtreecommitdiffstats
path: root/src/dhcpcd.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2017-05-15 09:59:52 +0100
committerRoy Marples <roy@marples.name>2017-05-15 09:59:52 +0100
commit9fca379b40e472e65435ad2b1636f3b4524b0fab (patch)
tree9f8f1989ccdc42d21a219881f616d2df46ba9175 /src/dhcpcd.c
parent94fc2b722eb0470514c4cf997e1e3af074933792 (diff)
downloaddhcpcd-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.c2
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;