summaryrefslogtreecommitdiffstats
path: root/lib/sockunion.c
Commit message (Collapse)AuthorAgeFilesLines
* 2004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>ajs2004-11-201-5/+5
| | | | | * global: Replace strerror with safe_strerror. And vtysh/vtysh.c needs to include "log.h" to pick up the declaration.
* 2004-10-13 Paul Jakma <paul@dishone.st>paul2004-10-131-4/+4
| | | | | | | | | | | | | * (global) more const'ification. * sockunion.c: (sockunion_su2str) buffer should be sized SU_ADDRSTRLEN. (sockunion_log) do not return stack variables, strdup buf before return. * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied values against ULONG_MAX is daft, when caller probably has passed a type that can not hold ULONG_MAX. use a temporary long instead. Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
* Some more const string fixes.hasso2004-10-111-1/+1
|
* Number of warnings is down to 3 again in lib directory. A lot of const'shasso2004-10-051-1/+1
| | | | added to strings and a lot of int -> unsigned int changes.
* 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-05-081-2/+2
| | | | | * command.c: (sockunion_getsockname) use socklen_t for len. (sockunion_getpeername) ditto.
* Last fixes from 6Wind patch.hasso2003-05-251-0/+5
|
* Fix incorrect buffer bounds.paul2003-05-241-4/+4
| | | | Reported by Anil Madhavapeddy to bug-zebra.
* Initial revisionpaul2002-12-131-0/+756