Remove a debugging print.
This commit is contained in:
parent
03717e1593
commit
e1eb41e1c0
@ -1,5 +1,5 @@
|
|||||||
/* ifchange.c - functions to call the interface change daemon
|
/* ifchange.c - functions to call the interface change daemon
|
||||||
* Time-stamp: <2011-03-30 19:23:54 nk>
|
* Time-stamp: <2011-03-30 20:21:30 nk>
|
||||||
*
|
*
|
||||||
* (c) 2004-2011 Nicholas J. Kain <njkain at gmail dot com>
|
* (c) 2004-2011 Nicholas J. Kain <njkain at gmail dot com>
|
||||||
*
|
*
|
||||||
@ -87,7 +87,6 @@ static int ifchd_cmd(char *buf, size_t buflen, uint8_t *option, ssize_t optlen,
|
|||||||
// This is a bit of a layering violation, but it's necessary
|
// This is a bit of a layering violation, but it's necessary
|
||||||
// for verifying gateway existence by ARP when link returns.
|
// for verifying gateway existence by ARP when link returns.
|
||||||
if (code == DHCP_ROUTER) {
|
if (code == DHCP_ROUTER) {
|
||||||
log_line("copied gateway address to cs->routerAddr");
|
|
||||||
memcpy(&cs.routerAddr, option, 4);
|
memcpy(&cs.routerAddr, option, 4);
|
||||||
}
|
}
|
||||||
if (inet_ntop(AF_INET, option, buf, buflen - (buf - obuf) - 1))
|
if (inet_ntop(AF_INET, option, buf, buflen - (buf - obuf) - 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user