]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1088] addressed review
authorRazvan Becheriu <razvan@isc.org>
Mon, 24 Feb 2020 17:02:00 +0000 (19:02 +0200)
committerRazvan Becheriu <razvan@isc.org>
Thu, 27 Feb 2020 07:03:27 +0000 (09:03 +0200)
src/hooks/dhcp/bootp/bootp.dox
src/hooks/dhcp/flex_option/flex_option.dox
src/hooks/dhcp/user_chk/libdhcp_user_chk.dox

index 68489b027c470a5394f41e4eb754a222931511f9..2af148b1999fd12090e775c2b9aa2ae3b8a7861a 100644 (file)
@@ -65,4 +65,10 @@ are removed from the response. When the packed response is shorter than
 the BOOTP minimum size (300 octets) it is padded after the END option
 by nuls up to this size.
 
+In case any other library sets the SKIP flag before pkt4_send, an exception
+with the message "the packet pack already handled" will be thrown, to
+indicate that the action can not be properly performed.
+To fix this, all other libraries which might set the SKIP flag must appear
+in the server configuration after this library.
+
 */
index b85863204f81a66c336b0c0d39774de6bc0502e1..0f32bf8d0234f11bb6b1d95bcc0ed211c6c400ee 100644 (file)
@@ -112,6 +112,12 @@ applied by the template @c process located in flex_option.h. When
 required the expression is evaluated on the query packet and the result
 is used by the action for instance to add a new option.
 
+In case any other library sets the SKIP flag before pkt4_send or pkt6_send, an
+exception with the message "the packet pack already handled" will be thrown, to
+indicate that the action can not be properly performed.
+To fix this, all other libraries which might set the SKIP flag must appear in the
+server configuration after this library.
+
 @section libdhcp_flex_optionMTCompatibility Multi-Threading Compatibility
 
 The libdhcp_flex_option hooks library is compatible with multi-threading.
index 84dc9429014a0a68da40aab94612f8f9fc282ec3..9c7508a6d726ea207b2b3f933ef951103b8e1c98 100644 (file)
@@ -82,6 +82,12 @@ flow upon receipt of an inbound request is the same and is as follows:
     This final step is what produces the real time record, referred to as the
     "user check outcome" file.
 
+In case any other library sets the SKIP flag before pkt4_send or pkt6_send, an
+exception with the message "the packet pack already handled" will be thrown, to
+indicate that the action can not be properly performed.
+To fix this, all other libraries which might set the SKIP flag must appear in the
+server configuration after this library.
+
 ## Using the library
 Two steps are required in order to use the library:
 -# The user registry file must be created and deployed