dispatcher: explicitly set missing interface argument for device actions
authorThomas Haller <thaller@redhat.com>
Wed, 19 Aug 2015 20:47:18 +0000 (22:47 +0200)
committerThomas Haller <thaller@redhat.com>
Wed, 19 Aug 2015 21:36:36 +0000 (23:36 +0200)
commit4c80e322ae1e2ab9c4e64fc0902dd90e76c43f43
tree34c2c176b57e0bb0309724d5c108632c23fdfb94
parent388dc12b20c646c1681b098d660aee182a043ddf
dispatcher: explicitly set missing interface argument for device actions

The first argument for dispatcher actions is the interface name, except
for the "hostname" action, where no interface is available.

For "hostname" actions continue to pass "none", as there is no interface
available. But for device actions, it may happen that the interface name
is missing too. In this case, don't pass "none" but instead an empty
name.
callouts/nm-dispatcher-utils.c
callouts/nm-dispatcher.c