core/varlink-cgroup: add BindNetworkInterface to varlink CGContext

Follow-up for c1c787651b
This commit is contained in:
Mike Yuan
2026-02-16 09:44:57 +01:00
parent eeead6e177
commit fe48347ce6
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -299,6 +299,7 @@ int unit_cgroup_context_build_json(sd_json_variant **ret, const char *name, void
SD_JSON_BUILD_OBJECT(
SD_JSON_BUILD_PAIR_BOOLEAN("isAllowList", c->restrict_network_interfaces_is_allow_list),
JSON_BUILD_PAIR_STRING_SET("interfaces", c->restrict_network_interfaces))),
JSON_BUILD_PAIR_STRING_NON_EMPTY("BindNetworkInterface", c->bind_network_interface),
JSON_BUILD_PAIR_CALLBACK_NON_NULL("NFTSet", nft_set_build_json, &c->nft_set_context),
/* BPF programs */