summaryrefslogtreecommitdiff
path: root/examples/C/glib/monitor-nm-running-gdbus.c
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-02-18 16:13:23 +0100
committerLubomir Rintel <lkundrak@v3.sk>2016-02-19 14:40:16 +0100
commit0b29ab075e4eb39e0a84e83d4f212a8a235e4b4e (patch)
tree22fe47da9f06edb0b2c5ab6a0e5837997bc950db /examples/C/glib/monitor-nm-running-gdbus.c
parent927a65763efb4356d6939631df2f854e17a260a2 (diff)
device: don't allways set assumed reason when platform init is done
When the device is transitioning from unmanaged to disconnected for "assumed" reason, bring_up is not called. This is not a good thing in numerous instances, e.g.: 1.) vlans that we've created need that to set IFF_UP and read carrier otherwise they won't be available for connections. 2.) veths that are being managed need to start the deferred carrier check so that the behavior matches real Ethernet. 3.) Hardware devices that were plugged in while NetworkManager is running that need the IFF_UP for a carrier check, possibly enqueueing a deferred one. Fixes: 5637d72af2d51b6f2b8dbe70553754f1828fdb66.
Diffstat (limited to 'examples/C/glib/monitor-nm-running-gdbus.c')
0 files changed, 0 insertions, 0 deletions