]> git.proxmox.com Git - mirror_iproute2.git/blobdiff - tipc/peer.c
man: tc-taprio.8: fix syntax error
[mirror_iproute2.git] / tipc / peer.c
index de0c73c31fc440a5a3813002ada155efdb92bd46..f6380777033daece73af24c5f177cc45d7692466 100644 (file)
@@ -39,7 +39,11 @@ static int cmd_peer_rm_addr(struct nlmsghdr *nlh, const struct cmd *cmd,
        }
 
        str = shift_cmdl(cmdl);
+
+       /* First try legacy Z.C.N format, then integer format */
        addr = str2addr(str);
+       if (!addr)
+               addr = atoi(str);
        if (!addr)
                return -1;