/* Find out how much of the message to copy; truncate if too short. */
/* How much room is there left? */
len = *pktlenp - sizeof(U_32BIT)*3;
+ if (message == NULL) message = "";
if (len < strlen(message) + 1) /* Room for null terminator */
{
status = FAILURE; /* Message was truncated */
return status;
}
+
+
+u_long cur_req_sender()
+{
+ return (CUR_REQ.ip_address);
+}