summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorreverendhomer <mk.43.ecko@gmail.com>2015-10-22 10:36:07 +0300
committerreverendhomer <mk.43.ecko@gmail.com>2015-10-22 10:36:07 +0300
commit58fda79c0bdea114f72ef5d9537039d01adeca37 (patch)
tree904c464a601ee43bbb5a53aadffc2c1306ce348e
parent2dcc3c69a10f76e0ee9185c863d23ee62d481919 (diff)
networkd-manager: fix swapped arguments
fixes Coverity #1328493
-rw-r--r--src/network/networkd-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkd-manager.c b/src/network/networkd-manager.c
index 76d5aa5585..e0e1679ede 100644
--- a/src/network/networkd-manager.c
+++ b/src/network/networkd-manager.c
@@ -409,7 +409,7 @@ int manager_rtnl_process_address(sd_netlink *rtnl, sd_netlink_message *message,
log_link_debug(link, "Adding address: %s/%u (valid for %s)", buf, prefixlen, valid_str);
}
- address_update(address, scope, flags, &cinfo);
+ address_update(address, flags, scope, &cinfo);
break;