CVSROOT: /cvs Module name: src Changes by: mart...@cvs.openbsd.org 2020/03/22 02:59:22
Modified files: usr.bin/snmp : snmpc.c Log message: Fix agent address parsing: - Allow IPv6 addresses to be used based on format. - Allow IPv6 addresses without brackets skip the port if it results in a nonsensical address. This allows us to use ::1 - Try to connect to the address immediately instead of only trying the socket. - Add pledge unix so we can actually create a unix socket. Feedback, additional testing and OK jan@