Joseph C. Lehner 7 роки тому
батько
коміт
e7c237f662
1 змінених файлів з 0 додано та 2 видалено
  1. 0 2
      ethsock.c

+ 0 - 2
ethsock.c

@@ -289,9 +289,7 @@ static bool intf_add_del_arp(const char *intf, uint32_t ipaddr, uint8_t *hwaddr,
 	if (add) {
 		rtnl_neigh_set_lladdr(neigh, mac);
 		rtnl_neigh_set_state(neigh, NUD_PERMANENT);
-		system("arp -an");
 		err = rtnl_neigh_add(sk, neigh, NLM_F_CREATE);
-		system("arp -an");
 	}
 
 	if (err && (add || verbosity > 1)) {