diff mbox series

[iproute2-next,13/20] bridge: vni: Replace open-coded instance of print_nl()

Message ID 20231211140732.11475-14-bpoirier@nvidia.com (mailing list archive)
State Accepted
Commit 7d8509d84c1238d1c222fc1219e3175f3b00cbfb
Delegated to: Stephen Hemminger
Headers show
Series bridge: vni: UI fixes | expand

Checks

Context Check Description
netdev/tree_selection success Not a local patch

Commit Message

Benjamin Poirier Dec. 11, 2023, 2:07 p.m. UTC
Reviewed-by: Petr Machata <petrm@nvidia.com>
Tested-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>
---
 bridge/vni.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Stephen Hemminger Dec. 21, 2023, 4:08 a.m. UTC | #1
On Mon, 11 Dec 2023 09:07:25 -0500
Benjamin Poirier <bpoirier@nvidia.com> wrote:

> Reviewed-by: Petr Machata <petrm@nvidia.com>
> Tested-by: Petr Machata <petrm@nvidia.com>
> Signed-off-by: Benjamin Poirier <bpoirier@nvidia.com>

Acked-by: Stephen Hemminger <stephen@networkplumber.org>
diff mbox series

Patch

diff --git a/bridge/vni.c b/bridge/vni.c
index 8f88a706..0d8c1d34 100644
--- a/bridge/vni.c
+++ b/bridge/vni.c
@@ -289,7 +289,7 @@  static void print_vni(struct rtattr *t, int ifindex)
 		print_vnifilter_entry_stats(ttb[VXLAN_VNIFILTER_ENTRY_STATS]);
 
 	close_json_object();
-	print_string(PRINT_FP, NULL, "%s", _SL_);
+	print_nl();
 }
 
 int print_vnifilter_rtm(struct nlmsghdr *n, void *arg)