From: Vincent Bernat Date: Tue, 29 Dec 2015 08:30:20 +0000 (+0100) Subject: client: remove incomplete commented examples X-Git-Tag: 0.8.0~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=460b6c829cfdd999301ec1a01374da9062630dc3;p=thirdparty%2Flldpd.git client: remove incomplete commented examples --- diff --git a/src/client/jansson_writer.c b/src/client/jansson_writer.c index d367f8cd..42275c2a 100644 --- a/src/client/jansson_writer.c +++ b/src/client/jansson_writer.c @@ -29,36 +29,6 @@ #include "../compat/compat.h" #include "../log.h" -/* - * { lldp: - * { interface: [ - - * { chassis: - * { id: { type: "mac", value: "60:eb:69:ce:6e:a0" }, - * name: "guybrush", - * descr: "Debian GNU/Linux 7.0 (wheezy)", - * capability: [{type: "bridge", enabled: true}, {type: "router", enabled: false}] }, -* -* -* 60:eb:69:ce:6e:a0 -* guybrush.luffy.cx -* Debian GNU/Linux 7.0 (wheezy) Linux 3.5-trunk-amd64 #1 SMP Debian 3.5.5-1~experimental.1 x86_64 -* 192.168.116.3 -* -* -* -* -* -* fe:86:6f:b6:1e:db -* port1 -* -* 10GigBaseR - R PCS/PMA, unknown PMD. -* -* -* -* -*/ - /* This list is used as a queue. The queue does not hold reference to the json_t * element except the first one. */ struct json_element { diff --git a/src/client/jsonc_writer.c b/src/client/jsonc_writer.c index 1e6d48ea..76a0f47a 100644 --- a/src/client/jsonc_writer.c +++ b/src/client/jsonc_writer.c @@ -30,36 +30,6 @@ #include "../compat/compat.h" #include "../log.h" -/* - * { lldp: - * { interface: [ - - * { chassis: - * { id: { type: "mac", value: "60:eb:69:ce:6e:a0" }, - * name: "guybrush", - * descr: "Debian GNU/Linux 7.0 (wheezy)", - * capability: [{type: "bridge", enabled: true}, {type: "router", enabled: false}] }, -* -* -* 60:eb:69:ce:6e:a0 -* guybrush.luffy.cx -* Debian GNU/Linux 7.0 (wheezy) Linux 3.5-trunk-amd64 #1 SMP Debian 3.5.5-1~experimental.1 x86_64 -* 192.168.116.3 -* -* -* -* -* -* fe:86:6f:b6:1e:db -* port1 -* -* 10GigBaseR - R PCS/PMA, unknown PMD. -* -* -* -* -*/ - /* This list is used as a queue. The queue does not hold reference to the json_t * element except the first one. */ struct json_element {