dispatcher: expose connection D-Bus path
authorDan Winship <danw@redhat.com>
Thu, 18 Dec 2014 14:06:56 +0000 (09:06 -0500)
committerDan Winship <danw@redhat.com>
Mon, 19 Jan 2015 16:17:37 +0000 (11:17 -0500)
commit995da9a5a68c5b3f3da458100df23b855e2bbc2a
tree799062b9819f38886e474c9ced21db69dda4c5c4
parent9cfd9d376fd5fd2fef097293e6f851044068c6d1
dispatcher: expose connection D-Bus path

src/nm-dispatcher.c was passing the connection's D-Bus path to the
dispatcher, which was then ignoring it. Meanwhile,
test-dispatcher-envp was passing a fake D-Bus path with the wrong name
(which didn't actually matter since
nm_dispatcher_utils_construct_envp() ignored it anyway).

Fix it so that the path gets exposed as CONNECTION_DBUS_PATH, and
adjust the tests for that.
callouts/nm-dispatcher-utils.c
callouts/tests/dispatcher-down
callouts/tests/dispatcher-up
callouts/tests/dispatcher-vpn-down
callouts/tests/dispatcher-vpn-up
callouts/tests/test-dispatcher-envp.c
man/NetworkManager.xml