OpenBSD CVS

CVS log for src/usr.bin/snmp/snmpc.c


[BACK] Up to [local] / src / usr.bin / snmp

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: OPENBSD_6_7


Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 22 08:59:22 2020 UTC (4 years, 2 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.21: +47 -41 lines
Diff to previous 1.21 (colored)

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@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.