* src/NetworkManagerDevice.c
                - Take down then bring up wired devices after connection so
                they send out ipv6 router advertisements


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@356 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2004-12-22 18:45:11 +00:00
parent 5367649e73
commit 3c6d1afa66
2 changed files with 11 additions and 1 deletions

View file

@ -4,9 +4,12 @@
- Silently fail when setting bitrate doesn't work
Patch from j@bootlab.org:
Patches from j@bootlab.org:
* src/backends/NetworkManagerDebian
- Update backend to match functionality in RedHat backend
* src/NetworkManagerDevice.c
- Take down then bring up wired devices after connection so
they send out ipv6 router advertisements
2004-12-21 Colin Walters <walters@verbum.org>

View file

@ -1898,6 +1898,13 @@ static gboolean nm_device_activation_configure_ip (NMDevice *dev, gboolean do_on
g_return_val_if_fail (dev != NULL, FALSE);
nm_system_delete_default_route ();
/* This will assigne an IPv6 address, if a Router ADVertisement Daemon is pressent */
if (!nm_device_is_wireless (dev))
{
if (nm_device_is_up (dev))
nm_device_bring_down (dev);
nm_device_bring_up (dev);
}
if (do_only_autoip)
{
success = nm_device_do_autoip (dev);