HomeFreeBSD

syslogd: Clean up allowedpeer structure

Description

syslogd: Clean up allowedpeer structure

  • Use boolean values in validate() and struct allowedpeer.
  • Remove useless peer count loop.

Reviewed by: markj, emaste
MFC after: 3 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D41365

Details

Provenance
jfreeAuthored on Sep 1 2023, 2:49 AM
markjCommitted on Sep 28 2023, 3:51 PM
Reviewer
markj
Differential Revision
D41365: syslogd: Clean up allowedpeer structure
Parents
rGf30b063ee667: syslogd: Only use peerlist during flag parsing
Branches
Unknown
Tags
Unknown