summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorThomas Markwalder <tmark@isc.org>2020-01-23 16:21:52 -0500
committerThomas Markwalder <tmark@isc.org>2022-01-20 16:30:49 -0500
commit7f1524669755d7a6e6cd1c3fb80084df273f3dc1 (patch)
tree6a377a3ccee3135da05adf12e138aec3c3e40d4e /common
parent7de26fe7a1a2822f667ccaf7c633673cb2d0cead (diff)
downloadisc-dhcp-7f1524669755d7a6e6cd1c3fb80084df273f3dc1.tar.gz
[#76] Initial implemention to dhcpctl_timed_wait_for_completion
common/conflex.c includes/dhctoken.h dhcpctl/omshell.c Added support for "disconnect" dhcpctl/cltest.2 - new file that exercizes timed waits and disconnect dhcpctl/Makefile.am.in Added cltest2.c dhcpctl/dhcpctl.* dhcpctl_timed_wait_for_completion() - new function dhcpctl_disconnect() - new function Added debug logging omapip/dispatch.c Added protocol logging omapi_wait_for_completion() Fixed dangling waiter reference omapi_one_dispatch() Added logic to skip emit writefds from select list omapip/support.c Changed annoying DEBUG logs to DEBUG_PROTOCOL
Diffstat (limited to 'common')
-rw-r--r--common/conflex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/conflex.c b/common/conflex.c
index 7b671560..db1e1a09 100644
--- a/common/conflex.c
+++ b/common/conflex.c
@@ -954,6 +954,8 @@ intern(char *atom, enum dhcp_token dfv) {
if (!atom [6])
return DEFINE;
}
+ if (!strcasecmp (atom + 1, "isconnect"))
+ return DISCONNECT;
break;
case 'e':
if (isascii (atom [1]) &&