summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-11-08 12:23:32 +0000
committerHans-Joerg Hoexer <hshoexer@cvs.openbsd.org>2004-11-08 12:23:32 +0000
commite6591197b55de40ad4b3908e24a327ad3d007d48 (patch)
treee07e0ff85cb4fef3f1c7f3a853965a7063141769
parent46bf4b8468be85d8500a6d8ec8f99903a8821bb9 (diff)
no const for sysdep_sa_len (not yet), slipped in during previous commit...
-rw-r--r--sbin/isakmpd/monitor.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/isakmpd/monitor.c b/sbin/isakmpd/monitor.c
index 8c666db3c5d..7caa4dd2561 100644
--- a/sbin/isakmpd/monitor.c
+++ b/sbin/isakmpd/monitor.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: monitor.c,v 1.30 2004/11/08 12:11:00 hshoexer Exp $ */
+/* $OpenBSD: monitor.c,v 1.31 2004/11/08 12:23:31 hshoexer Exp $ */
/*
* Copyright (c) 2003 Håkan Olsson. All rights reserved.
@@ -1120,9 +1120,9 @@ m_priv_check_bind(const struct sockaddr *sa, socklen_t salen)
log_print("NULL address");
return 1;
}
- if (sysdep_sa_len((const struct sockaddr *)sa) != salen) {
+ if (sysdep_sa_len((struct sockaddr *)sa) != salen) {
log_print("Length mismatch: %d %d",
- (int)sysdep_sa_len((const struct sockaddr *)sa), (int)salen);
+ (int)sysdep_sa_len((struct sockaddr *)sa), (int)salen);
return 1;
}
switch (sa->sa_family) {