You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
add support for per instance spki and pfx update callbacks
Since rtrlib itself does not support this, we do this by abusing the
facts that rtrlib does not care about the actual size of a rtr_socket
and that the rtr_socket the update originates from is passed to the
callback function. We can just add some more data after the actual
content of the rtr_socket and access it from the callback function to
find the per instance callback and call it.
Copy file name to clipboardExpand all lines: docs/callbacks.rst
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,6 @@ This callback can be used to iterate over the entire pfx table.
39
39
:param data: Arbitrary data object provided by the user
40
40
:type data: object or None
41
41
42
-
.. warning:: You should **not** register more than one function per callback for the following callbacks, it will **not** work and result in undefined behaviour
43
-
44
42
45
43
PFX update callback
46
44
-------------------
@@ -53,24 +51,26 @@ This callback is called for any change to the Prefix validation table, it takes
0 commit comments