mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-06 06:48:07 +02:00
Patch from j@bootlab.org
* 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:
parent
5367649e73
commit
3c6d1afa66
2 changed files with 11 additions and 1 deletions
|
|
@ -4,9 +4,12 @@
|
||||||
- Silently fail when setting bitrate doesn't work
|
- Silently fail when setting bitrate doesn't work
|
||||||
|
|
||||||
|
|
||||||
Patch from j@bootlab.org:
|
Patches from j@bootlab.org:
|
||||||
* src/backends/NetworkManagerDebian
|
* src/backends/NetworkManagerDebian
|
||||||
- Update backend to match functionality in RedHat backend
|
- 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>
|
2004-12-21 Colin Walters <walters@verbum.org>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1898,6 +1898,13 @@ static gboolean nm_device_activation_configure_ip (NMDevice *dev, gboolean do_on
|
||||||
g_return_val_if_fail (dev != NULL, FALSE);
|
g_return_val_if_fail (dev != NULL, FALSE);
|
||||||
|
|
||||||
nm_system_delete_default_route ();
|
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)
|
if (do_only_autoip)
|
||||||
{
|
{
|
||||||
success = nm_device_do_autoip (dev);
|
success = nm_device_do_autoip (dev);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue