CVSROOT: /cvs Module name: src Changes by: [email protected] 2016/05/30 06:33:44
Modified files:
usr.sbin/smtpd : to.c
Log message:
Simplify address parsing code by only using inet_net_pton(3).
There's no need to have a separate case for non-CIDR addresses using
inet_pton(3) as inet_net_pton(3) handles them as well.
This simplification is valid for all our daemons parsing addresses,
it is a common patern.
ok gilles@, millert@
