Remove debugging stuff v0.9.11
authorJoseph C. Lehner <joseph.c.lehner@gmail.com>
Wed, 5 Apr 2017 19:20:40 +0000 (21:20 +0200)
committerJoseph C. Lehner <joseph.c.lehner@gmail.com>
Wed, 5 Apr 2017 19:20:40 +0000 (21:20 +0200)
ethsock.c

index 1f420307d2395607837c0f784cfd44e8b20bab22..685e34ac5cdb90665aff59e2f879efd5cc8a4792 100644 (file)
--- a/ethsock.c
+++ b/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)) {