mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-10 19:50:22 +01:00
core: use right IP family when commiting IP configuration
IPv6 needs to clear it's own activation chain, not IPv4's.
This commit is contained in:
parent
469b263043
commit
768d54bcc6
1 changed files with 2 additions and 2 deletions
|
|
@ -2567,7 +2567,7 @@ nm_device_activate_ip4_config_commit (gpointer user_data)
|
|||
int ifindex;
|
||||
|
||||
/* Clear the activation source ID now that this stage has run */
|
||||
activation_source_clear (self, FALSE, 0);
|
||||
activation_source_clear (self, FALSE, AF_INET);
|
||||
|
||||
iface = nm_device_get_iface (self);
|
||||
nm_log_info (LOGD_DEVICE, "Activation (%s) Stage 5 of 5 (IPv4 Commit) started...",
|
||||
|
|
@ -2726,7 +2726,7 @@ nm_device_activate_ip6_config_commit (gpointer user_data)
|
|||
int ifindex;
|
||||
|
||||
/* Clear the activation source ID now that this stage has run */
|
||||
activation_source_clear (self, FALSE, 0);
|
||||
activation_source_clear (self, FALSE, AF_INET6);
|
||||
|
||||
iface = nm_device_get_iface (self);
|
||||
nm_log_info (LOGD_DEVICE, "Activation (%s) Stage 5 of 5 (IPv6 Commit) started...",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue