diff options
| author | Felix Fietkau | 2023-05-04 13:14:59 +0000 |
|---|---|---|
| committer | Felix Fietkau | 2023-05-04 13:14:59 +0000 |
| commit | fb1add3a991ef3aff54fcd87ee1185487f55f540 (patch) | |
| tree | 3a9d8448deeeb701e3c29b47ab7aad010c3769a3 | |
| parent | 7de5440a520f9c6687358c7ef88ac4aad0ff98a5 (diff) | |
| download | netifd-fb1add3a991ef3aff54fcd87ee1185487f55f540.tar.gz | |
bridge: remove stray newline from device status vlan port list
Signed-off-by: Felix Fietkau <nbd@nbd.name>
| -rw-r--r-- | bridge.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ? "*" : ""); |