CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]       2026/06/14 02:48:04

Modified files:
        usr.sbin/relayd: config.c 

Log message:
relayd: read imsg payloads via the new imsg/ibuf getters

Convert the config_get* handlers from IMSG_SIZE_CHECK() + memcpy() to
the new imsg API. Fixed-size payloads use imsg_get_data(). Functions
with a fixed header followed by variable-length data use imsg_get_ibuf()
+ ibuf_get() and read the remainder from the same ibuf cursor, since
imsg_get_data() requires the payload to match the requested size
exactly.

Feedback and OK claudio

Reply via email to