jail: netifd: code cosmetics
authorDaniel Golle <daniel@makrotopia.org>
Sat, 16 Oct 2021 23:24:29 +0000 (00:24 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 17 Oct 2021 18:31:22 +0000 (19:31 +0100)
commit9b1e035ad17ce762d8e42c213b29c6f433b72040
treeecdf554744eb53655f579a6dcb60ba607d0ccab3
parent82dd39024f63e53becd07c89831ed7d5fac7f339
jail: netifd: code cosmetics

Make code more readable by renaming ambigous variable name 'ctx' to
'host_ubus_ctx' (global) or 'uci_ctx' (local in gen_jail_uci_network).
Rename 'netifd_ubus_ctx' to 'jail_ubus_ctx' to make the jail vs. host
roles more obvious.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
jail/netifd.c