diff options
author | 2007-03-22 16:00:46 +0000 | |
---|---|---|
committer | 2007-03-22 16:00:46 +0000 | |
commit | 4ac8c7a978935d4796eeac61953dc44d23f893bb (patch) | |
tree | e8bab9b29bf7cf40b9e68c6962514365e475d3d8 | |
parent | Somehow I forgot how to correctly sort in alphabetical order. (diff) | |
download | wireguard-openbsd-4ac8c7a978935d4796eeac61953dc44d23f893bb.tar.xz wireguard-openbsd-4ac8c7a978935d4796eeac61953dc44d23f893bb.zip |
s/%ssredistribute/%sredistribute/. One s is enough and makes -nv output
a valid config file again.
-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; |