de405c7145
function has a return type of u_int32_t, into which it was somehow supposed to encode: * A valid 32-bit XID (which could be any value including 0). * 0, meaning a duplicate request. * -1, meaning a malloc failed (!); We now ensure that all XIDs are non-zero, and pass the XID out via a pointer argument. In forward_find() and free_slot_by_xid(), remove an unnecessary and confusing test for a negative result from an unsigned modulo operation, but add an unnecessary cast to highlight why. |
||
---|---|---|
.. | ||
check_bound.c | ||
Makefile | ||
pmap_svc.c | ||
rpcb_stat.c | ||
rpcb_svc_4.c | ||
rpcb_svc_com.c | ||
rpcb_svc.c | ||
rpcbind.8 | ||
rpcbind.c | ||
rpcbind.h | ||
security.c | ||
util.c | ||
warmstart.c |