]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
After displaying PVID, close the section tag.
authorVincent Bernat <bernat@luffy.cx>
Sat, 13 Mar 2010 21:14:31 +0000 (22:14 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sat, 13 Mar 2010 21:14:31 +0000 (22:14 +0100)
src/display.c

index bcd37781e0ed485427097febf54cc7dccf9b6965..50c559943c9a36bc5a6d2a87a0cddbd4dd9915a7 100644 (file)
@@ -901,6 +901,7 @@ display_vlans(struct writer *w, struct lldpd_port *port)
                tag_start(w, "vlan", "VLAN");
                tag_attr(w, "vlan-id", "", u2str(port->p_pvid));
                tag_attr(w, "pvid", "pvid", "yes");
+               tag_end(w);
        }
 }
 #endif