From d5322239eccfb0ede9f7464fc8b948b1e07a9269 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 30 Oct 2013 20:32:22 +0100 Subject: [PATCH] core: remove code without effect from nm-policy.c Signed-off-by: Thomas Haller --- src/nm-policy.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/nm-policy.c b/src/nm-policy.c index 22f7c1171d..6d15e01a33 100644 --- a/src/nm-policy.c +++ b/src/nm-policy.c @@ -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);