diff options
author | Thomas Haller <thaller@redhat.com> | 2014-11-22 01:03:08 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-11-22 01:03:08 +0100 |
commit | 54c4901aa92e9ef3de37a246eec32df9110579e8 (patch) | |
tree | 9d38a914875230a0e09f6acb071cd3dab326a583 | |
parent | ce95b4eddb1f7bf6c7d99ae96623de7f491c27d9 (diff) | |
download | NetworkManager-54c4901aa92e9ef3de37a246eec32df9110579e8.tar.gz |
fixup! platform: add paramter to ip4_route_add to set src (RTA_PREFSRC)
-rw-r--r-- | src/platform/nm-platform.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/platform/nm-platform.c b/src/platform/nm-platform.c index 08342a50a9..217fcc50f5 100644 --- a/src/platform/nm-platform.c +++ b/src/platform/nm-platform.c @@ -1890,9 +1890,9 @@ nm_platform_ip4_route_add (int ifindex, NMIPConfigSource source, route.mss = mss; debug ("route: adding or updating IPv4 route: %s%s%s%s", nm_platform_ip4_route_to_string (&route), - pref_src?" (src: ":"", - pref_src?nm_utils_inet4_ntop (pref_src, pref_src_buf):"", - pref_src?")":""); + pref_src ? " (src: " : "", + pref_src ? nm_utils_inet4_ntop (pref_src, pref_src_buf) : "", + pref_src ? ")" : ""); } return klass->ip4_route_add (platform, ifindex, source, network, plen, gateway, pref_src, metric, mss); } |