diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-01-10 15:53:11 +0100 |
|---|---|---|
| committer | Sander Vrijders <sander@ouroboros.rocks> | 2026-01-12 08:13:24 +0100 |
| commit | 1433fa50cb4e162a0557f207a1097d165392ba8e (patch) | |
| tree | 9d52e9604fd422d3295e2f0b2719bafcffc7cf71 | |
| parent | 3f373b06b05083d9395250379a2978b5f6085002 (diff) | |
| download | ouroboros-1433fa50cb4e162a0557f207a1097d165392ba8e.tar.gz ouroboros-1433fa50cb4e162a0557f207a1097d165392ba8e.zip | |
build: Fix missing DEBUG_PROTO optionsbe
The DEBUG_PROTO_DHT and DEBUG_PROTO_LS build options were not
correctly migrated to the new CMake modules. This adds them back.
There was a non-implemented DEBUG_PROTO_OEP option. This removes that
stale code.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
| -rw-r--r-- | cmake/ipcp/unicast.cmake | 4 | ||||
| -rw-r--r-- | include/ouroboros/serdes-oep.h | 8 |
2 files changed, 4 insertions, 8 deletions
diff --git a/cmake/ipcp/unicast.cmake b/cmake/ipcp/unicast.cmake index 8517f8af..2a2f7a3f 100644 --- a/cmake/ipcp/unicast.cmake +++ b/cmake/ipcp/unicast.cmake @@ -7,6 +7,10 @@ set(IPCP_UNICAST_MPL 100 CACHE STRING "Default maximum packet lifetime for the Unicast IPCP, in ms") set(PFT_SIZE 256 CACHE STRING "Prefix forwarding table size for the Unicast IPCP") +set(DEBUG_PROTO_DHT FALSE CACHE BOOL + "Add DHT protocol debug logging") +set(DEBUG_PROTO_LS FALSE CACHE BOOL + "Add link state protocol debug logging") # Generate DHT protobuf files protobuf_generate_c(DHT_PROTO_SRCS DHT_PROTO_HDRS "${UNICAST_SOURCE_DIR}/dir/dht.proto") diff --git a/include/ouroboros/serdes-oep.h b/include/ouroboros/serdes-oep.h index af4446c1..f7d8561a 100644 --- a/include/ouroboros/serdes-oep.h +++ b/include/ouroboros/serdes-oep.h @@ -66,12 +66,4 @@ ssize_t enroll_ack_ser(const struct enroll_ack * ack, int enroll_ack_des(struct enroll_ack * ack, const buffer_t buf); -#ifdef DEBUG_PROTO_OEP -void debug_enroll_req(const struct enroll_req * req); - -void debug_enroll_resp(const struct enroll_resp * resp); - -void debug_enroll_ack(const struct enroll_ack * ack); -#endif /* DEBUG_PROTO_OEP */ - #endif /* OUROBOROS_LIB_SERDES_OEP_H*/ |
