Skip to content

Commit

Permalink
dpif-netlink: Fix log level for error message
Browse files Browse the repository at this point in the history
Since it's an error but also will always occur in older kernels
log the message with level warning instead of info.

Signed-off-by: Roi Dayan <[email protected]>
Acked-by: Eric Garver <[email protected]>
Signed-off-by: Joe Stringer <[email protected]>
  • Loading branch information
roidayan authored and joestringer committed Aug 1, 2017
1 parent acf2e6c commit d52ef4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dpif-netlink.c
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ dpif_netlink_rtnl_port_create_and_add(struct dpif_netlink *dpif,
error = dpif_netlink_rtnl_port_create(netdev);
if (error) {
if (error != EOPNOTSUPP) {
VLOG_INFO_RL(&rl, "Failed to create %s with rtnetlink: %s",
VLOG_WARN_RL(&rl, "Failed to create %s with rtnetlink: %s",
netdev_get_name(netdev), ovs_strerror(error));
}
return error;
Expand Down

0 comments on commit d52ef4e

Please sign in to comment.