]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - misc/arpd.c
ss: in --numeric mode, print raw numbers for data rates
[mirror_iproute2.git] / misc / arpd.c
index c2666f76fd5e935a860479ac08ac8c1cd7550aa8..504961cb5e3a0e15f54132d881bd2829bac96912 100644 (file)
@@ -38,8 +38,6 @@
 #include "utils.h"
 #include "rt_names.h"
 
-int resolve_hosts;
-
 DB     *dbase;
 char   *dbname = "/var/lib/arpd/arpd.db";
 
@@ -426,7 +424,7 @@ static int do_one_request(struct nlmsghdr *n)
 
 static void load_initial_table(void)
 {
-       if (rtnl_wilddump_request(&rth, AF_INET, RTM_GETNEIGH) < 0) {
+       if (rtnl_neighdump_req(&rth, AF_INET, NULL) < 0) {
                perror("dump request failed");
                exit(1);
        }