core: suppress pointless log message when route already exists (lp:958519)

This commit is contained in:
Dan Williams 2012-03-22 16:22:48 -05:00
parent a44effc1c7
commit 085d822f28

View file

@ -601,7 +601,7 @@ nm_system_apply_ip6_config (int ifindex,
RTPROT_UNSPEC,
RT_TABLE_UNSPEC,
NULL);
if (err) {
if (err && (err != -NLE_EXIST)) {
nm_log_err (LOGD_DEVICE | LOGD_IP6,
"(%s): failed to set IPv6 route: %s",
iface ? iface : "unknown",