sd-lldp-rx: also dump received MUD URL

This commit is contained in:
Yu Watanabe
2025-06-18 00:53:24 +09:00
parent 2da3957b63
commit 4c45437b60
+1
View File
@@ -815,5 +815,6 @@ int lldp_neighbor_build_json(sd_lldp_neighbor *n, sd_json_variant **ret) {
JSON_BUILD_PAIR_STRING_NON_EMPTY("SystemName", system_name),
JSON_BUILD_PAIR_STRING_NON_EMPTY("SystemDescription", system_description),
SD_JSON_BUILD_PAIR_CONDITION(valid_cc, "EnabledCapabilities", SD_JSON_BUILD_UNSIGNED(cc)),
JSON_BUILD_PAIR_STRING_NON_EMPTY("MUDURL", n->mud_url),
SD_JSON_BUILD_PAIR_CONDITION(valid_vlanid, "VlanID", SD_JSON_BUILD_UNSIGNED(vlanid)));
}