Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-09 | dhcp: Try to reuse the IP address we had last time. | Jukka Rissanen | 2 | -5/+24 | |
This fix will cause the DHCP_REQUESTED_IP option to be sent to the server. Fixes BMC #21068 | |||||
2011-06-14 | dhcp: Cancel old renewal timeout prior to adding a new one | Grant Erickson | 1 | -0/+6 | |
Given the following reproduction steps: 1) Set up an access point with a Class B IP address, say 10.2.40.254. 2) Set up the access point to provide DHCP leases over a range 10.2.40.2 through 10.2.40.253. 3) Set up a short lease renewal period of 5-10 minutes. 4) Allow the device to associate, connect and receive an IP address. 5) Midway through the lease interval, change the access point to a different IP address, say, 10.2.41.254. 6) Change the access point to issue DHCP leases over a new range, 10.2.41.2 through 10.2.41.253. 7) Watch as the access point resets, the connection is lost, the connection is regained and as connman tries to get a new DHCP lease. Prior to commit 39825846, connman could receive a new but different DHCP lease but connman would not program the confirmed lease to the interface. However, following that commit, it now programs the new, changed DHCP lease to the interface but still believes the old lease is valid and attempts to keep servicing the old renewal timeout for the prior but now stale lease. This patch cancels any existing, pending DHCP lease renewal timeout following a DHCP lease configuration change. | |||||
2011-05-27 | gdhcp: Remove unused variable | Marcel Holtmann | 1 | -3/+0 | |
2010-12-28 | Building fix about implicit declaration of strnlen | Yang Ruirui | 1 | -0/+1 | |
I got build failing as below: cc1: warnings being treated as errors gdhcp/client.c: In function ‘alloc_dhcp_option’: gdhcp/client.c:1455: error: implicit declaration of function ‘strnlen’ define _GNU_SOURCE fixes this problem. | |||||
2010-12-21 | gdhcp: Add netmask getter | Julien Massot | 2 | -0/+25 | |
2010-12-14 | gdhcp: Add IPv4 Link-Local support | Julien Massot | 4 | -8/+489 | |
IPv4 Link-Local negociation starts on gdhcp client failure. | |||||
2010-12-10 | gdhcp: Fix server listener watch events list | Samuel Ortiz | 1 | -2/+2 | |
Add G_IO_NVAL, G_IO_ERR and G_IO_HUP to the events list. | |||||
2010-12-10 | gdhcp: Fix client listener watch events list | Julien Massot | 1 | -2/+2 | |
Add G_IO_NVAL, G_IO_ERR and G_IO_HUP to the events list. | |||||
2010-12-10 | gdhcp: Fix spelling mistake | Julien Massot | 1 | -1/+1 | |
2010-12-09 | dhcp: Handle proxy PAC option correctly | David Woodhouse | 1 | -0/+1 | |
We're requesting the unofficial proxy option (252) but then throwing away the response because we don't recognise the type for it. This fixes proxy detection via DHCP. | |||||
2010-11-29 | gdhcp: Initialise socket structure before binding | Samuel Ortiz | 1 | -0/+1 | |
2010-11-25 | gdhcp: Support hostname with space characters | Martin Xu | 1 | -2/+5 | |
2010-11-24 | Increase number of DHCP discover attempts for interoperability | Marcel Holtmann | 1 | -1/+1 | |
Currently the DHCP discover is retried five times with a timeout of three seconds. This is not always enough if a bridge forward delay is longer than 15 seconds is configured. So increase DHCP discover attempts to ten times. | |||||
2010-11-13 | gdhcp: Fix server function name typo | Samuel Ortiz | 1 | -2/+2 | |
2010-11-13 | gdhcp: Send DHCPNAK when receiving a REQUEST before a DISCOVER | Samuel Ortiz | 1 | -2/+6 | |
2010-11-13 | gdhcp: Initial DHCP server implementation | Martin Xu | 2 | -1/+939 | |
2010-11-13 | gdhcp: Move get_interface_name and interface_is_up to common.c | Martin Xu | 3 | -65/+76 | |
This is needed for the dhcp server implementation. | |||||
2010-09-11 | Remove two pointless whitespaces | Marcel Holtmann | 1 | -2/+2 | |
2010-09-11 | Handle potential NULL pointer with DHCP options | Marcel Holtmann | 1 | -0/+3 | |
2010-08-17 | Remove some pointless spaces violating the coding style | Marcel Holtmann | 1 | -2/+2 | |
2010-08-17 | Add more debug statements to DHCP library | Marcel Holtmann | 1 | -0/+21 | |
2010-08-03 | Use five retries for DHCP discover and select requests | Marcel Holtmann | 1 | -2/+2 | |
2010-08-03 | If hostname is not provided then don't request one via DHCP | Marcel Holtmann | 1 | -20/+3 | |
2010-08-03 | Add server ID option support to dhcp-lib | Samuel Ortiz | 1 | -0/+1 | |
2010-07-29 | Add DHCP library constant for requesting domain name | Marcel Holtmann | 1 | -0/+1 | |
2010-07-29 | Add some debug handling for received packets in DHCP library | Marcel Holtmann | 1 | -0/+6 | |
2010-07-29 | Remove unused timer code from DHCP library | Marcel Holtmann | 1 | -13/+1 | |
2010-07-29 | Add minimal debug support for DHCP client library | Marcel Holtmann | 2 | -3/+29 | |
2010-07-25 | Fix wrong prototype for DHCP client library reference counting | Marcel Holtmann | 2 | -2/+13 | |
2010-07-22 | Fix floating point error for unhandled dhcp options | Samuel Ortiz | 1 | -0/+7 | |
Unhandled dhcp options will trigger a divide by zero exception. | |||||
2010-07-22 | gdhcp hostname option support | Samuel Ortiz | 2 | -1/+2 | |
2010-07-22 | Fix GDHCPClientError typo | Samuel Ortiz | 2 | -2/+2 | |
2010-07-21 | Add initial support for DHCP client library | Martin Xu | 4 | -0/+1919 | |