2008-10-15 Dan Williams <dcbw@redhat.com>
authorDan Williams <dcbw@redhat.com>
Wed, 15 Oct 2008 17:12:58 +0000 (17:12 +0000)
committerDan Williams <dcbw@redhat.com>
Wed, 15 Oct 2008 17:12:58 +0000 (17:12 +0000)
commit38dbdae26606f984f1d12c8a56ed27bc1b4d9c20
treeab4f741e4b9e66c5fd25de50ccccc91383ad6d7c
parentb48f50f16681e277404659086f6a5d0e88a364d1
2008-10-15  Dan Williams  <dcbw@redhat.com>

* src/NetworkManagerSystem.c
- (ip4_dest_in_same_subnet): tighter checks on subnet matching,
if the ip4_dest is in a smaller subnet contained within a subnet
the machine is currently on, the destination is in the same subnet
- (nm_system_device_set_ip4_route): move subnet checks to callers
- (add_vpn_gateway_route): check if the VPN gateway is in the same
subnet as the parent device, and if so, don't add the direct
host route via the parent device's gateway (bgo #481620)
- (nm_system_apply_ip4_config): check whether the route to be added
is contained within a subnet the device is already on

git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@4181 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
ChangeLog
src/NetworkManagerSystem.c