]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/ipvrf.c
man: tc-taprio.8: fix syntax error
[mirror_iproute2.git] / ip / ipvrf.c
index f9277e1e66bdf84eb9b0fb1946df53f72f8443a5..08a0d45b2570f47167b0e55bae55f1776334996a 100644 (file)
@@ -436,6 +436,8 @@ out2:
 out:
        free(mnt);
 
+       drop_cap();
+
        return rc;
 }
 
@@ -587,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;