]> git.ipfire.org Git - thirdparty/FORT-validator.git/commit
Fix a couple of bugs, implement Reset Query PDU handler.
authorpcarana <pc.moreno2099@gmail.com>
Wed, 20 Feb 2019 23:54:55 +0000 (17:54 -0600)
committerpcarana <pc.moreno2099@gmail.com>
Wed, 20 Feb 2019 23:54:55 +0000 (17:54 -0600)
commitaa85ca2bf65672aa1de8449222cfbbe54aa52e9d
treea8cd2927f7d9fd1c3da0232f1977d851591d48d9
parent4525a92a42785cbb40b6b44bb272b00c2f379065
Fix a couple of bugs, implement Reset Query PDU handler.

Bugs fixed: add stdio.h, send VERDICT_SUCCESS if client_fd >= 0, use correct
pointer when handling PDUs (all at rtr.c).
Handle Reset Query PDU sending Cache Response and End of Data PDUs.
Add RTR version constants (0 and 1) and some PDU types for responses.
src/rtr/pdu.h
src/rtr/pdu_handler.c
src/rtr/pdu_handler.h
src/rtr/rtr.c