]> git.proxmox.com Git - mirror_frr.git/commit - lib/sockunion.c
2004-10-13 Paul Jakma <paul@dishone.st>
authorpaul <paul>
Wed, 13 Oct 2004 05:22:18 +0000 (05:22 +0000)
committerpaul <paul>
Wed, 13 Oct 2004 05:22:18 +0000 (05:22 +0000)
commit42d498658d85e36a7e5910955e7425b1fa2afa69
tree4745462eb34a84e32ef5d3e1586a3cb5a983626e
parentfd79ac918b8feaacebe9719adaac97dffb69137a
2004-10-13 Paul Jakma <paul@dishone.st>

* (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.
lib/ChangeLog
lib/command.c
lib/command.h
lib/sockunion.c
lib/sockunion.h
lib/vty.h