瀏覽代碼

Remove debugging stuff

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)) {