core: fix stray semicolon causing VPN routes to not be added

This commit is contained in:
Dan Williams
2013-07-12 14:09:05 -05:00
parent 317bd6bf6c
commit 7c2abb2c9f

View File

@@ -284,7 +284,7 @@ nm_ip4_config_destination_is_direct (NMIP4Config *config, guint32 network, int p
guint32 item_address = nm_ip4_address_get_address (item); guint32 item_address = nm_ip4_address_get_address (item);
int item_plen = nm_ip4_address_get_prefix (item); int item_plen = nm_ip4_address_get_prefix (item);
if (item_plen <= plen && same_prefix (item_address, network, item_plen)); if (item_plen <= plen && same_prefix (item_address, network, item_plen))
return TRUE; return TRUE;
} }