ndhc: Subnet option is an ip, not an iplist.
This commit is contained in:
parent
bf3de7f310
commit
cb261be045
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user