core: remove code without effect from nm-policy.c

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2013-10-30 20:32:22 +01:00
parent 26dca13c7e
commit d5322239ec

View file

@ -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);