discover/network: Mark interfaces configured once configured
authorSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 16 Jun 2016 05:18:30 +0000 (15:18 +1000)
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>
Thu, 14 Jul 2016 03:49:34 +0000 (13:49 +1000)
commit6a6d2c94bd5c001750e8eaa133a61a87964efa70
treed1d4e0599f3bf561a77d7473aa7cd1ab5564941a
parent726e72342fdd2e1fc5ad34a1aafa76b135524a0a
discover/network: Mark interfaces configured once configured

In some cases additional netlink messages can be received for an
already-configured interface without any relevant changes. This can
result in multiple DHCP requests for the same interface.
Once an interface has been configured mark it as IFSTATE_CONFIGURED
to avoid configuring it again.

Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
discover/network.c