diff options
author | Renato Westphal <renato@cvs.openbsd.org> | 2015-10-27 03:23:31 +0000 |
---|---|---|
committer | Renato Westphal <renato@cvs.openbsd.org> | 2015-10-27 03:23:31 +0000 |
commit | 62174b893cc4395aece7f4158f0f48135cb90d1c (patch) | |
tree | f842c6e55294345ad48b4fcc841760cefb0c02ae /usr.sbin/eigrpd | |
parent | 7ad5397b30a8ae04a55706d9d09c0684f495ff6f (diff) |
Print a missing "metric" before the actual metric when printing a
redistribute line.
Diffstat (limited to 'usr.sbin/eigrpd')
-rw-r--r-- | usr.sbin/eigrpd/printconf.c | 6 |
1 files 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 <renato@openbsd.org> @@ -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"); } } |