From 42d498658d85e36a7e5910955e7425b1fa2afa69 Mon Sep 17 00:00:00 2001 From: paul Date: Wed, 13 Oct 2004 05:22:18 +0000 Subject: 2004-10-13 Paul Jakma * (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 | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'lib/ChangeLog') diff --git a/lib/ChangeLog b/lib/ChangeLog index 9a01f636..1e6f51ca 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,16 @@ +2004-10-13 Paul Jakma + + * (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. + 2004-10-11 Hasso Tepper * command.h: Sync DEFUNSH with other macros. -- cgit v1.2.1