diff options
author | Tom Gundersen <teg@jklm.no> | 2015-02-04 10:08:12 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-02-05 11:50:34 +0100 |
commit | 6a24f1484fcc1f59f89617afbe4282667a358eab (patch) | |
tree | c0a1d3b5d0d9b44e958c135456df730359aa6c03 /src/network/networkd.h | |
parent | 73432d67b590c8c8954cf2f8954d174a55d58c7b (diff) |
networkd: don't warn about missing links unnecessarily
If we get a NEWLINK + NEWADDR between enumerating the links and enumerating the addresses, we
would get a warning that the link corresponding to the address does not exist. This is a false
warning as both the NEWLINK and NEWADDR would be processed after enumerating completed, so drop
it.
Diffstat (limited to 'src/network/networkd.h')
-rw-r--r-- | src/network/networkd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd.h b/src/network/networkd.h index 075aefec71..e053bd624a 100644 --- a/src/network/networkd.h +++ b/src/network/networkd.h @@ -206,6 +206,8 @@ struct Manager { struct udev_monitor *udev_monitor; sd_event_source *udev_event_source; + bool enumerating; + char *state_file; Hashmap *links; |