mirror of
https://github.com/sheumann/hush.git
synced 2024-10-04 06:58:22 +00:00
small size reduction by Bernhard Fischer <rep.nop@aon.at>
This commit is contained in:
parent
bae7948a5a
commit
59f2c34037
@ -574,10 +574,9 @@ int syslogd_main(int argc, char **argv)
|
|||||||
*p++ = '\0';
|
*p++ = '\0';
|
||||||
port = xatou16(p);
|
port = xatou16(p);
|
||||||
}
|
}
|
||||||
remoteAddr.sin_family = AF_INET;
|
|
||||||
/* FIXME: looks ip4-specific. need to do better */
|
/* FIXME: looks ip4-specific. need to do better */
|
||||||
remoteAddr.sin_addr = *(struct in_addr *) *(xgethostbyname(opt_R)->h_addr_list);
|
bb_lookup_host(&remoteAddr, opt_R);
|
||||||
remoteAddr.sin_port = htons(port);
|
remoteAddr.sin_port = bb_lookup_port(port, "udp", port);
|
||||||
}
|
}
|
||||||
//if (option_mask32 & OPT_locallog) // -L
|
//if (option_mask32 & OPT_locallog) // -L
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user