summaryrefslogtreecommitdiff
path: root/src/network/networkd-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-util.h')
-rw-r--r--src/network/networkd-util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-util.h b/src/network/networkd-util.h
index e8c390196e..31ff4bc425 100644
--- a/src/network/networkd-util.h
+++ b/src/network/networkd-util.h
@@ -91,6 +91,7 @@ int network_config_state_to_string_alloc(NetworkConfigState s, char **ret);
0); \
} \
static inline bool name##_is_requesting(type *t) { \
+ assert(t); \
return FLAGS_SET(t->state, NETWORK_CONFIG_STATE_REQUESTING); \
} \
static inline void name##_enter_configuring(type *t) { \