]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/ipvrf.c
ip address: Split ip_linkaddr_list into link and addr functions
[mirror_iproute2.git] / ip / ipvrf.c
index 8572b4f23e3dc494853e9468a5ce2f1bc14f72d5..08a0d45b2570f47167b0e55bae55f1776334996a 100644 (file)
@@ -21,9 +21,6 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <string.h>
-#ifdef HAVE_LIBBSD
-#include <bsd/string.h>
-#endif
 #include <dirent.h>
 #include <errno.h>
 #include <limits.h>
@@ -592,7 +589,7 @@ static int ipvrf_show(int argc, char **argv)
                return 0;
        }
 
-       if (ip_linkaddr_list(0, ipvrf_filter_req, &linfo, NULL) == 0) {
+       if (ip_link_list(ipvrf_filter_req, &linfo) == 0) {
                struct nlmsg_list *l;
                unsigned nvrf = 0;
                int n;