diff options
author | Esben Norby <norby@cvs.openbsd.org> | 2007-10-01 08:35:13 +0000 |
---|---|---|
committer | Esben Norby <norby@cvs.openbsd.org> | 2007-10-01 08:35:13 +0000 |
commit | 03c8d77bc9ffc5b820afa3a04a185ec59f0834bc (patch) | |
tree | 3439464747ebff2e72064b01076939d546de7cfe /usr.sbin/ospfd/ospfe.c | |
parent | e616cdcc0f1277f5f457c6d8f80bd54ac6da242d (diff) |
fix alot of whitespace problems...
Diffstat (limited to 'usr.sbin/ospfd/ospfe.c')
-rw-r--r-- | usr.sbin/ospfd/ospfe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ospfd/ospfe.c b/usr.sbin/ospfd/ospfe.c index ceaca7984bb..0dbaeaa5bf0 100644 --- a/usr.sbin/ospfd/ospfe.c +++ b/usr.sbin/ospfd/ospfe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfe.c,v 1.57 2007/07/25 19:11:27 claudio Exp $ */ +/* $OpenBSD: ospfe.c,v 1.58 2007/10/01 08:35:12 norby Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -1068,7 +1068,7 @@ ospfe_demote_area(struct area *area, int active) return; bzero(&dmsg, sizeof(dmsg)); - strlcpy(dmsg.demote_group, area->demote_group, + strlcpy(dmsg.demote_group, area->demote_group, sizeof(dmsg.demote_group)); dmsg.level = area->demote_level; if (active) @@ -1087,7 +1087,7 @@ ospfe_demote_iface(struct iface *iface, int active) return; bzero(&dmsg, sizeof(dmsg)); - strlcpy(dmsg.demote_group, iface->demote_group, + strlcpy(dmsg.demote_group, iface->demote_group, sizeof(dmsg.demote_group)); if (active) dmsg.level = -1; |