Commit df831877 authored by Dan Williams's avatar Dan Williams
Browse files

2005-05-08 Dan Williams <dcbw@redhat.com>

	* src/dhcp-manager/nm-dhcp-manager.c
		- (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
			it goes down.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@614 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 130b42a9
2005-05-08 Dan Williams <dcbw@redhat.com>
* src/dhcp-manager/nm-dhcp-manager.c
- (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
it goes down.
2005-05-06 Dan Williams <dcbw@redhat.com>
* gnome/applet/applet-dbus-device.c
......
......@@ -225,7 +225,7 @@ gboolean nm_dhcp_manager_begin_transaction (NMDHCPManager *manager, NMActRequest
NMDevice * dev;
char * path;
const guint32 opt1 = 31; /* turns off ALL actions and dhclient-script just writes options to dhcdbd */
const guint32 opt2 = 0; /* dhclient is run in ONE SHOT mode */
const guint32 opt2 = 2; /* dhclient is run in ONE SHOT mode and releases existing leases when brought down */
GSource * source;
g_return_val_if_fail (manager != NULL, FALSE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment