projects
/
systemd
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
862be54
)
network: add missing assertion
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Tue, 29 Nov 2022 01:58:08 +0000
(10:58 +0900)
committer
Yu Watanabe
<watanabe.yu+github@gmail.com>
Wed, 30 Nov 2022 01:18:03 +0000
(10:18 +0900)
src/network/networkd-util.h
patch
|
blob
|
history
diff --git
a/src/network/networkd-util.h
b/src/network/networkd-util.h
index e8c390196e1a329412a86ad2075d45836b557152..31ff4bc4256adf5df878df078994d25e4716f436 100644
(file)
--- 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) { \