]> git.proxmox.com Git - mirror_iproute2.git/commitdiff
devlink: fix port new monitoring message typo
authorJiri Pirko <jiri@mellanox.com>
Fri, 23 Mar 2018 12:19:13 +0000 (13:19 +0100)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 27 Mar 2018 16:13:09 +0000 (09:13 -0700)
s/net/new/

Fixes: a3c4b484a1ed ("add devlink tool")
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
devlink/devlink.c

index 69c3c5d9dd3166b33e0ac71e6c0b94a5802336ee..ba02064b848c59d0153d149be4c0cbf34c46b1cf 100644 (file)
@@ -2602,7 +2602,7 @@ static const char *cmd_name(uint8_t cmd)
        case DEVLINK_CMD_DEL: return "del";
        case DEVLINK_CMD_PORT_GET: return "get";
        case DEVLINK_CMD_PORT_SET: return "set";
-       case DEVLINK_CMD_PORT_NEW: return "net";
+       case DEVLINK_CMD_PORT_NEW: return "new";
        case DEVLINK_CMD_PORT_DEL: return "del";
        default: return "<unknown cmd>";
        }