mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 04:10:28 +01:00
core: remove code without effect from nm-policy.c
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
26dca13c7e
commit
d5322239ec
1 changed files with 0 additions and 5 deletions
|
|
@ -855,11 +855,6 @@ update_ip6_routing (NMPolicy *policy, gboolean force_update)
|
|||
if (!gw_addr)
|
||||
gw_addr = &in6addr_any;
|
||||
|
||||
/* If we don't find a paired gateway, try the generic IPv6 gateway */
|
||||
if ( IN6_IS_ADDR_UNSPECIFIED (gw_addr)
|
||||
&& nm_ip6_config_get_gateway (ip6_config))
|
||||
gw_addr = nm_ip6_config_get_gateway (ip6_config);
|
||||
|
||||
if (vpn) {
|
||||
NMDevice *parent = nm_vpn_connection_get_parent_device (vpn);
|
||||
int parent_ifindex = nm_device_get_ip_ifindex (parent);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue