ndhc: Subnet option is an ip, not an iplist.

This commit is contained in:
Nicholas J. Kain 2013-05-10 13:44:31 -04:00
parent bf3de7f310
commit cb261be045

View File

@ -142,7 +142,7 @@ static int ifchd_cmd(char *buf, size_t buflen, uint8_t *optdata,
int (*dofn)(char *, size_t, char *, uint8_t *, ssize_t); int (*dofn)(char *, size_t, char *, uint8_t *, ssize_t);
char *optname; char *optname;
switch (code) { switch (code) {
IFCHD_SW_CMD(SUBNET, iplist); IFCHD_SW_CMD(SUBNET, ip);
IFCHD_SW_CMD(DNS, iplist); IFCHD_SW_CMD(DNS, iplist);
IFCHD_SW_CMD(LPRSVR, iplist); IFCHD_SW_CMD(LPRSVR, iplist);
IFCHD_SW_CMD(NTPSVR, iplist); IFCHD_SW_CMD(NTPSVR, iplist);