diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-03-22 16:00:47 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-03-22 16:00:47 +0000 |
commit | d0617786c492a05d286defedc41f1cac5a22411d (patch) | |
tree | 60a003ea553b42866d40bbfee8d3667d2c8f2d86 /usr.sbin/ospfd | |
parent | 5d4ab88241a86ed84025e5414fffcd6e2da5f7b7 (diff) |
s/%ssredistribute/%sredistribute/. One s is enough and makes -nv output
a valid config file again.
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r-- | usr.sbin/ospfd/printconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ospfd/printconf.c b/usr.sbin/ospfd/printconf.c index 9fb5e8db632..b7f2445e22d 100644 --- a/usr.sbin/ospfd/printconf.c +++ b/usr.sbin/ospfd/printconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: printconf.c,v 1.7 2007/03/21 10:54:30 claudio Exp $ */ +/* $OpenBSD: printconf.c,v 1.8 2007/03/22 16:00:46 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -87,7 +87,7 @@ print_redistribute(struct ospfd_conf *conf) print_no(r->type), rtlabel_id2name(r->label)); break; case REDIST_ADDR: - printf("%ssredistribute %s/%d\n", + printf("%sredistribute %s/%d\n", print_no(r->type), inet_ntoa(r->addr), mask2prefixlen(r->mask.s_addr)); break; |