diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-08 19:11:07 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-08-08 19:11:07 +0000 |
commit | fe20a59c2f21da8587f57d524d1e231bcbb40838 (patch) | |
tree | 5443651e9bdfa49ff1836a41e006395db1ffbe99 /sbin/isakmpd/isakmp_cfg.c | |
parent | 1499b7cac95c6a5e2e57f6179505336da5eabe2d (diff) |
spacing
Diffstat (limited to 'sbin/isakmpd/isakmp_cfg.c')
-rw-r--r-- | sbin/isakmpd/isakmp_cfg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/isakmp_cfg.c b/sbin/isakmpd/isakmp_cfg.c index c5b879dc119..222d0c679a2 100644 --- a/sbin/isakmpd/isakmp_cfg.c +++ b/sbin/isakmpd/isakmp_cfg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: isakmp_cfg.c,v 1.33 2004/06/20 17:17:35 ho Exp $ */ +/* $OpenBSD: isakmp_cfg.c,v 1.34 2004/08/08 19:11:06 deraadt Exp $ */ /* * Copyright (c) 2001 Niklas Hallqvist. All rights reserved. @@ -893,7 +893,7 @@ cfg_encode_attributes(struct isakmp_cfg_attr_head *attrs, u_int32_t type, "attribute %s - expected %s got %s data", field, (family == AF_INET ? "IPv4" : "IPv6"), - (sa->sa_family == + (sa->sa_family == AF_INET ? "IPv4" : "IPv6")); free(sa); attr->length = 0; @@ -911,7 +911,7 @@ cfg_encode_attributes(struct isakmp_cfg_attr_head *attrs, u_int32_t type, free(sa); /* _SUBNET types need some extra work. */ - if (attr->type == + if (attr->type == ISAKMP_CFG_ATTR_INTERNAL_IP4_SUBNET) { sa = conf_get_address(id_string, "Netmask"); if (!sa) { |