]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - ip/ipnexthop.c
iplink_bareudp: use common include syntax
[mirror_iproute2.git] / ip / ipnexthop.c
index 99f89630ed189e60d9fa8a8c82d6e0eb25ade898..c33cef0c9ae045abe17908830ac4b6a87e6854a5 100644 (file)
@@ -224,7 +224,7 @@ int print_nexthop(struct nlmsghdr *n, void *arg)
 
        open_json_object(NULL);
 
-       if (n->nlmsg_type == RTM_DELROUTE)
+       if (n->nlmsg_type == RTM_DELNEXTHOP)
                print_bool(PRINT_ANY, "deleted", "Deleted ", true);
 
        if (tb[NHA_ID])