bridge: remove stray newline from device status vlan port list
authorFelix Fietkau <nbd@nbd.name>
Thu, 4 May 2023 13:14:59 +0000 (15:14 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 4 May 2023 13:14:59 +0000 (15:14 +0200)
Signed-off-by: Felix Fietkau <nbd@nbd.name>
bridge.c

index ae305e869703ac018f30a69beb0db59dacdad185..02fd3920815d7419e6a71af6049babc720df851e 100644 (file)
--- a/bridge.c
+++ b/bridge.c
@@ -934,7 +934,7 @@ bridge_dump_port(struct blob_buf *b, struct bridge_vlan_port *port)
        bool tagged = !(port->flags & BRVLAN_F_UNTAGGED);
        bool pvid = (port->flags & BRVLAN_F_PVID);
 
-       blobmsg_printf(b, NULL, "%s%s%s%s\n", port->ifname,
+       blobmsg_printf(b, NULL, "%s%s%s%s", port->ifname,
                tagged || pvid ? ":" : "",
                tagged ? "t" : "",
                pvid ? "*" : "");