networkd: Set RoutingPolicyRule in link_configure (#7235)
authorSusant Sahani <145210+ssahani@users.noreply.github.com>
Mon, 20 Nov 2017 16:50:48 +0000 (22:20 +0530)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Nov 2017 16:50:48 +0000 (17:50 +0100)
commit8a9b3a23fd0153e3b3e6768d03002819c2fc50e4
treeadbbeaf9b715a8ccecdace3eca7b14b4396bbc1f
parent9990ea0e59373c02b6bd64a5a4c860d2579f77db
networkd: Set RoutingPolicyRule in link_configure (#7235)

The RoutingPolicyRules are not added when we are calling from set_address
the link->message++ and link->message-- never reaches to zero in the callback function
resulting routes are never gets added.

Closes #7200
src/network/networkd-link.c