diff options
author | Patrik Flykt <patrik.flykt@linux.intel.com> | 2015-07-10 11:25:21 +0300 |
---|---|---|
committer | Patrik Flykt <patrik.flykt@linux.intel.com> | 2015-08-21 11:23:21 +0300 |
commit | 4e3e6679e8f73b83d38e4b20d8b025e12991d1cb (patch) | |
tree | 4a4c3e532d33d127466ece575eaaa95c3cccd6f9 /src/import/pull-common.c | |
parent | 7b088084186f8fb3880b4343038216f09ec6493e (diff) |
sd-dhcp6-client: Fix unreferencing DHCPv6 lease on client reset
When the DHCPv6 client is started by the library user or stopped for
any reason, unref the DHCPv6 lease when resetting the DHCPv6 client
data structure. This makes the DHCPv6 client always start from a clean
state and not keep unnecessary an lease structure around when stopped.
If this is not done, a previously existing lease information can be
interpreted to be from another server when restarting DHCPv6.
Diffstat (limited to 'src/import/pull-common.c')
0 files changed, 0 insertions, 0 deletions