From f2979b5d4e495ba2c5118d316a158608899d19fa Mon Sep 17 00:00:00 2001 From: renato Date: Tue, 27 Oct 2015 03:23:30 +0000 Subject: [PATCH] Print a missing "metric" before the actual metric when printing a redistribute line. --- usr.sbin/eigrpd/printconf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/eigrpd/printconf.c b/usr.sbin/eigrpd/printconf.c index a5eb6fd0359..0f50d8b8952 100644 --- a/usr.sbin/eigrpd/printconf.c +++ b/usr.sbin/eigrpd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.3 2015/10/21 03:52:12 renato Exp $ */ +/* $OpenBSD: printconf.c,v 1.4 2015/10/27 03:23:30 renato Exp $ */ /* * Copyright (c) 2015 Renato Westphal @@ -100,8 +100,10 @@ print_redistribute(struct eigrp *eigrp) break; } - if (r->metric) + if (r->metric) { + printf(" metric"); print_redist_metric(r->metric); + } printf("\n"); } } -- 2.20.1