- Use boolean values in validate() and struct allowedpeer.
- Remove useless peer count loop.
Details
Details
- Reviewers
markj emaste - Commits
- rGb772f1ce14a0: syslogd: Clean up allowedpeer structure
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.sbin/syslogd/syslogd.c | ||
---|---|---|
206 | By the way, we now use anonymous unions in quite a few places, so you could instead write union { struct { struct sockaddr_storage a_addr; ... }; and get rid of those horrible defines. But that should be done in a separate diff if at all. |