summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2024-09-09 23:38:30 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2024-09-09 23:38:30 +0000
commit0a6e41b45244a9fdc483b7ac31810ead05d972dc (patch)
treea58cfd3feab4cef82ce70a575ec108b83f902a35 /sbin
parenta11cfbddc3da4067ffde7e567110cdaf49f4e1fb (diff)
When accounting start the type attribute was added twice.
from markus
Diffstat (limited to 'sbin')
-rw-r--r--sbin/iked/radius.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/iked/radius.c b/sbin/iked/radius.c
index 5847795a1ed..4327ec9a4b2 100644
--- a/sbin/iked/radius.c
+++ b/sbin/iked/radius.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radius.c,v 1.10 2024/08/17 03:28:22 yasuoka Exp $ */
+/* $OpenBSD: radius.c,v 1.11 2024/09/09 23:38:29 yasuoka Exp $ */
/*
* Copyright (c) 2024 Internet Initiative Japan Inc.
@@ -748,8 +748,6 @@ iked_radius_acct_request(struct iked *env, struct iked_sa *sa, uint8_t stype)
switch (stype) {
case RADIUS_ACCT_STATUS_TYPE_START:
- radius_put_uint32_attr(pkt, RADIUS_TYPE_ACCT_STATUS_TYPE,
- RADIUS_ACCT_STATUS_TYPE_START);
break;
case RADIUS_ACCT_STATUS_TYPE_INTERIM_UPDATE:
case RADIUS_ACCT_STATUS_TYPE_STOP: