Remove debugging stuff
This commit is contained in:
parent
9c07060835
commit
87487aed89
1 changed files with 0 additions and 2 deletions
|
@ -289,9 +289,7 @@ static bool intf_add_del_arp(const char *intf, uint32_t ipaddr, uint8_t *hwaddr,
|
||||||
if (add) {
|
if (add) {
|
||||||
rtnl_neigh_set_lladdr(neigh, mac);
|
rtnl_neigh_set_lladdr(neigh, mac);
|
||||||
rtnl_neigh_set_state(neigh, NUD_PERMANENT);
|
rtnl_neigh_set_state(neigh, NUD_PERMANENT);
|
||||||
system("arp -an");
|
|
||||||
err = rtnl_neigh_add(sk, neigh, NLM_F_CREATE);
|
err = rtnl_neigh_add(sk, neigh, NLM_F_CREATE);
|
||||||
system("arp -an");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (err && (add || verbosity > 1)) {
|
if (err && (add || verbosity > 1)) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue