From: Mike Yuan Date: Sun, 5 Oct 2025 22:19:57 +0000 (+0200) Subject: libsystemd-network/sd-lldp-tx: use SD_JSON_BUILD_PAIR_ID128 X-Git-Tag: v259-rc1~260^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbc9f0dd4e25b68ffac50b0bb3df4018ef85ba37;p=thirdparty%2Fsystemd.git libsystemd-network/sd-lldp-tx: use SD_JSON_BUILD_PAIR_ID128 --- diff --git a/src/libsystemd-network/sd-lldp-tx.c b/src/libsystemd-network/sd-lldp-tx.c index b836081d93c..e8e1ea10f33 100644 --- a/src/libsystemd-network/sd-lldp-tx.c +++ b/src/libsystemd-network/sd-lldp-tx.c @@ -713,7 +713,7 @@ int sd_lldp_tx_describe(sd_lldp_tx *lldp_tx, sd_json_variant **ret) { return sd_json_buildo( ret, - SD_JSON_BUILD_PAIR_STRING("ChassisID", SD_ID128_TO_STRING(machine_id)), + SD_JSON_BUILD_PAIR_ID128("ChassisID", machine_id), SD_JSON_BUILD_PAIR_BYTE_ARRAY("RawChassisID", chassis_id, chassis_id_len), SD_JSON_BUILD_PAIR_STRING("PortID", lldp_tx->ifname), SD_JSON_BUILD_PAIR_BYTE_ARRAY("RawPortID", port_id, port_id_len),