Commit 3f80d35f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Implement NET_CONF.

parent 0a08c07d
......@@ -73,6 +73,9 @@ struct network {
unsigned short self_update_interval;
};
#define NET_CONF(_net, _field, _default) \
((_net)->conf ? (_net)->conf->_field : (_default))
extern struct network *networks;
extern int numnets;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment