mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-01 01:00:33 +01:00
ppp: allow autoconf6 when ipv6.method is 'auto'
PPP supports IPv6 autoconfiguration. Fixes:58287cbcc0('core: rework IP configuration in NetworkManager using layer 3 configuration') (cherry picked from commit041df05f3c)
This commit is contained in:
parent
2e4d1e8dc6
commit
d3615b2a1c
1 changed files with 3 additions and 4 deletions
|
|
@ -222,10 +222,9 @@ get_ip_method_auto(NMDevice *device, int addr_family)
|
|||
return NM_SETTING_IP6_CONFIG_METHOD_MANUAL;
|
||||
}
|
||||
|
||||
/* We can do autoconf6 on an PPP link, but we should already get an IPv6
|
||||
* address from pppd. Use that instead. We however do want to generate our
|
||||
* (own) IPv6 link local address, so return "link-local". */
|
||||
return NM_SETTING_IP6_CONFIG_METHOD_LINK_LOCAL;
|
||||
/* We get a interface identifier via IPV6CP, used to construct a link-local
|
||||
* address. Method auto means autoconf6 as usual.*/
|
||||
return NM_SETTING_IP6_CONFIG_METHOD_AUTO;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue