diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2018-01-08 16:45:43 +0100 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2018-01-10 15:36:29 +0100 |
commit | dd98ada33f33820e0d0874d9aa97e0c2bfc7cdd0 (patch) | |
tree | 281efe0d73b57467e9e7357eb78cd9f95f9317f7 /introspection | |
parent | 2507046fea3165ee050e22af28266a685689c841 (diff) |
ppp: introduce SetIfindex pppd plugin D-Bus method
If IPV6CP terminates before IPCP, pppd enters the RUNNING phase and we
start IP configuration without having an IP interface set, which
triggers assertions.
Instead, add a SetIfindex() D-Bus method that gets called by the
plugin when pppd becomes RUNNING. The method sets the IP ifindex of
the device and starts IP configuration.
https://bugzilla.redhat.com/show_bug.cgi?id=1515829
Diffstat (limited to 'introspection')
-rw-r--r-- | introspection/org.freedesktop.NetworkManager.PPP.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/introspection/org.freedesktop.NetworkManager.PPP.xml b/introspection/org.freedesktop.NetworkManager.PPP.xml index 401ee9492..d840c786b 100644 --- a/introspection/org.freedesktop.NetworkManager.PPP.xml +++ b/introspection/org.freedesktop.NetworkManager.PPP.xml @@ -25,5 +25,10 @@ <method name="SetState"> <arg name="state" type="u" direction="in"/> </method> + + <method name="SetIfindex"> + <arg name="ifindex" type="i" direction="in"/> + </method> + </interface> </node> |