networkd: configure link even if no routes have been received by dhcp (#6886)
authorSusant Sahani <145210+ssahani@users.noreply.github.com>
Mon, 20 Nov 2017 18:23:34 +0000 (23:53 +0530)
committerLennart Poettering <lennart@poettering.net>
Mon, 20 Nov 2017 18:23:34 +0000 (19:23 +0100)
commit444b01704648c2f1292531f17c3b8c95bf1a9896
treecd638798ec6157f2d4bbaebec8de5aff270d3f1b
parent8c6f6a2f91a28df14944e9567ac0dc14893264d5
networkd: configure link even if no routes have been received by dhcp (#6886)

Fixes #3752

 networkctl
IDX LINK             TYPE               OPERATIONAL SETUP
  1 lo               loopback           carrier     unmanaged
  2 eth0             ether              no-carrier  configuring
  5 host             ether              routable    configured <==========

5 links listed.
src/network/networkd-dhcp4.c