-/* $OpenBSD: session.c,v 1.462 2024/02/13 16:12:37 claudio Exp $ */
+/* $OpenBSD: session.c,v 1.463 2024/02/19 10:15:35 job Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
change_state(peer, STATE_IDLE, event);
break;
case EVNT_TIMER_HOLDTIME:
- case EVNT_TIMER_SENDHOLD:
session_notification(peer, ERR_HOLDTIMEREXPIRED,
0, NULL);
change_state(peer, STATE_IDLE, event);
break;
+ case EVNT_TIMER_SENDHOLD:
+ session_notification(peer, ERR_SENDHOLDTIMEREXPIRED,
+ 0, NULL);
+ change_state(peer, STATE_IDLE, event);
+ break;
case EVNT_RCVD_OPEN:
/* parse_open calls change_state itself on failure */
if (parse_open(peer))
change_state(peer, STATE_IDLE, event);
break;
case EVNT_TIMER_HOLDTIME:
- case EVNT_TIMER_SENDHOLD:
session_notification(peer, ERR_HOLDTIMEREXPIRED,
0, NULL);
change_state(peer, STATE_IDLE, event);
break;
+ case EVNT_TIMER_SENDHOLD:
+ session_notification(peer, ERR_SENDHOLDTIMEREXPIRED,
+ 0, NULL);
+ change_state(peer, STATE_IDLE, event);
+ break;
case EVNT_TIMER_KEEPALIVE:
session_keepalive(peer);
break;
change_state(peer, STATE_IDLE, event);
break;
case EVNT_TIMER_HOLDTIME:
- case EVNT_TIMER_SENDHOLD:
session_notification(peer, ERR_HOLDTIMEREXPIRED,
0, NULL);
change_state(peer, STATE_IDLE, event);
break;
+ case EVNT_TIMER_SENDHOLD:
+ session_notification(peer, ERR_SENDHOLDTIMEREXPIRED,
+ 0, NULL);
+ change_state(peer, STATE_IDLE, event);
+ break;
case EVNT_TIMER_KEEPALIVE:
session_keepalive(peer);
break;