devlink: fix port new monitoring message typo

s/net/new/

Fixes: a3c4b484a1 ("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>
This commit is contained in:
Jiri Pirko 2018-03-23 13:19:13 +01:00 committed by Stephen Hemminger
parent 32ea3d54b4
commit da7a1aa7da
1 changed files with 1 additions and 1 deletions

View 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>";
}