- 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 Skipped - Unit
Tests Skipped
Event Timeline
usr.sbin/syslogd/syslogd.c | ||
---|---|---|
204 | 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. |