networkd: properly reset transient hostname when we lose a DHCP lease
authorLennart Poettering <lennart@poettering.net>
Thu, 27 Aug 2015 10:53:43 +0000 (12:53 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 27 Aug 2015 10:53:43 +0000 (12:53 +0200)
commitdce391e78f5d8d5f4feb3eb6a15436de12dacf46
treedca5b9de132240ac3743dbcfcc7b81e87ca57adc
parent21b80ad126c1aa43bd6d0e5a7ed3cc7c0f10efb0
networkd: properly reset transient hostname when we lose a DHCP lease

Previously we were setting the transient hostname again, rather than
resetting it.
src/network/networkd-dhcp4.c
src/network/networkd-link.c