diff options
author | Tom Gundersen <teg@jklm.no> | 2014-05-08 13:14:42 +0200 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-05-08 15:27:55 +0200 |
commit | 3a9c5a32bec18dc1cca68af46fd1aebfad7e9fd7 (patch) | |
tree | 7fbee82ad922bda62c5ea48fcb6d97dadf7230e9 /src/network/networkd-wait-online.h | |
parent | d91d3c1580ee3c50139eec8ab794c634a54044fb (diff) |
networkd-wait-online: flush monitor events after processing
Otherwise the event will trigger immediately again.
Diffstat (limited to 'src/network/networkd-wait-online.h')
-rw-r--r-- | src/network/networkd-wait-online.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-wait-online.h b/src/network/networkd-wait-online.h index 91edce1f60..e894351d2e 100644 --- a/src/network/networkd-wait-online.h +++ b/src/network/networkd-wait-online.h @@ -29,6 +29,7 @@ typedef struct Manager { sd_event *event; sd_rtnl *rtnl; + sd_network_monitor *monitor; } Manager; void manager_free(Manager *m); |