diff options
author | Thomas Markwalder <tmark@isc.org> | 2020-01-23 16:21:52 -0500 |
---|---|---|
committer | Thomas Markwalder <tmark@isc.org> | 2022-01-20 16:30:49 -0500 |
commit | 7f1524669755d7a6e6cd1c3fb80084df273f3dc1 (patch) | |
tree | 6a377a3ccee3135da05adf12e138aec3c3e40d4e /includes | |
parent | 7de26fe7a1a2822f667ccaf7c633673cb2d0cead (diff) | |
download | isc-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 'includes')
-rw-r--r-- | includes/dhctoken.h | 3 | ||||
-rw-r--r-- | includes/omapip/omapip_p.h | 3 |
2 files changed, 5 insertions, 1 deletions
diff --git a/includes/dhctoken.h b/includes/dhctoken.h index 6bf50e88..223e1110 100644 --- a/includes/dhctoken.h +++ b/includes/dhctoken.h @@ -376,7 +376,8 @@ enum dhcp_token { LEASE_ID_FORMAT = 676, TOKEN_HEX = 677, TOKEN_OCTAL = 678, - KEY_ALGORITHM = 679 + KEY_ALGORITHM = 679, + DISCONNECT = 680 }; #define is_identifier(x) ((x) >= FIRST_TOKEN && \ diff --git a/includes/omapip/omapip_p.h b/includes/omapip/omapip_p.h index b744a5ce..323bba3e 100644 --- a/includes/omapip/omapip_p.h +++ b/includes/omapip/omapip_p.h @@ -60,6 +60,9 @@ #include <dst/dst.h> #include "result.h" +/* Uncomment this to enable protocol level debug logs */ +/* #define DEBUG_PROTOCOL 1 */ + #include <omapip/convert.h> #include <omapip/hash.h> #include <omapip/omapip.h> |