blob: 2459f927785669e878159323a33469453567813e [file] [log] [blame]
paulf2e6c422005-02-12 14:35:49 +000012005-02-12 Paul Jakma <paul.jakma@sun.com>
2
3 * stream.h: Unsigned long updated to size_t
4 * stream.c: ditto
5
paul9985f832005-02-09 15:51:56 +000062005-02-09 Paul Jakma <paul.jakma@sun.com>
7
8 * stream.h: Remove putp. Update reference to putp with endp.
9 Add stream_forward_endp, which daemons were doing manually.
10 Rename stream_forward to stream_forward_getp.
11 stream.c: Remove/update references to putp.
12 introduce stream_forward_endp.
13
ajs548e6f72005-02-08 15:57:25 +0000142005-02-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
15
16 * zebra.h: Change macro definitions SET_FLAG and UNSET_FLAG
17 to use compound assignment operators (aesthetic change).
18
ajs1e221352005-02-03 16:42:40 +0000192005-02-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
20
ajsc4c7d0c2005-02-03 19:22:05 +000021 * log.c: (zlog_signal,zlog_backtrace_sigsafe) Eliminate use of fileno()
22 since it is not async-signal-safe.
23 (_zlog_assert_failed) Rewrite crashlog logic more compactly.
24 (zlog_set_file,zlog_reset_file,zlog_rotate) Update logfile_fd
25 for use in signal handler.
26
272005-02-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
28
ajs1e221352005-02-03 16:42:40 +000029 * log.c: (syslog_sigsafe) Reduce scope of syslog_fd: it is accessed
30 inside this function only.
31 (open_crashlog) New function to open /var/tmp/quagga.<daemon>.crashlog
32 with flags O_WRONLY|O_CREAT|O_EXCL to save some crash info.
33 (zlog_signal,_zlog_assert_failed) Increase logging priority from
34 LOG_ERR to LOG_CRIT. If no file logging is configured, try to use
35 open_crashlog to create a crash logfile.
36 (zlog_backtrace_sigsafe) If a crashlog file descriptor is open,
37 dump a backtrace to that file.
38
ajs847947f2005-02-02 18:38:48 +0000392005-02-02 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
40
41 * if.h: Declare if_flag_dump.
42
ajs6a52d0d2005-01-30 18:49:28 +0000432005-01-30 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
44
45 * daemon.c: (daemon) Replace perror with zlog_err.
46 * vty.c: (vty_serv_un) Replace perror with zlog_err.
47
ajs3b8b1852005-01-29 18:19:13 +0000482005-01-29 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
49
50 * buffer.h: Fix comment on buffer_getstr to reflect that it now
51 uses XMALLOC.
52 * buffer.c: (buffer_getstr) Use XMALLOC(MTYPE_TMP) instead of malloc.
53 * filter.c: (access_list_remark,ipv6_access_list_remark) Use
54 argv_concat instead of buffer_getstr.
55 * if.c: (interface_desc) Use argv_concat instead of buffer_getstr.
56 * plist.c: (ip_prefix_list_description,ipv6_prefix_list_description)
57 Use argv_concat instead of buffer_getstr.
58
ajsf6834d42005-01-28 20:28:35 +0000592005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
60
ajsafb8b602005-01-28 20:41:07 +000061 * lib/buffer.h: Document behavior of buffer_getstr function.
62 * lib/buffer.c: (buffer_getstr) Fix bug: must handle case where
63 the string extends beyond the head struct buffer_data.
64
652005-01-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
66
ajsf6834d42005-01-28 20:28:35 +000067 * lib/command.h: Document behavior of argv_concat function.
68 * lib/command.c: (argv_concat) Calculate total string length first so
69 we can call malloc just once (instead of realloc'ing to add each
70 string element).
71 (do_echo,config_logmsg) Allow for possible NULL return value from
72 argv_concat.
73
hasso13bfca72005-01-23 21:42:25 +0000742005-01-23 Hasso Tepper <hasso at quagga.net>
75
76 * lib/command.[ch]: Make node_parent() function nonstatic. vtyh.c will
77 use it as well.
78
ajs31364272005-01-18 22:18:59 +0000792005-01-18 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
80
81 * log.h: Test for SA_SIGINFO to see whether zlog_signal takes final
82 two args (siginfo and program_counter).
83 * log.c: (hex_append) Include this function only if SA_SIGINFO or
84 HAVE_GLIBC_BACKTRACE is defined.
85 (zlog_signal) Final two args (siginfo and program_counter) now
86 depend on whether SA_SIGINFO is defined on this platform.
87 * sigevent.c: (program_counter) Do not include this function if
88 SA_SIGINFO is not defined on this platform.
89 (exit_handler,core_handler) Test for SA_SIGINFO to decide whether
90 2nd & 3rd arguments are present and to decide how to invoke
91 zlog_signal.
92 (trap_default_signals) Test for SA_SIGINFO and invoke sigaction
93 appropriately.
94
ajs239c26f2005-01-17 15:22:28 +0000952005-01-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
96
97 * log.h: Change prototype for zlog_backtrace_sigsafe to take additional
98 program_counter argument.
99 * log.c: (zlog_backtrace_sigsafe) Add additional program_counter
100 argument. If it is non-NULL, use backtrace_symbols_fd to resolve
101 the address.
102 (zlog_signal) Call zlog_backtrace_sigsafe with additional
103 program_counter argument.
104
hasso87d683b2005-01-16 23:31:54 +00001052005-01-17 Hasso Tepper <hasso at quagga.net>
106
107 * command.[ch], vty.c: cmd_execute_command() function must not attempt
108 to walk up in the node tree if called from vtysh. Different daemons
109 might have commands with same syntax in different nodes (for example
110 "router-id x.x.x.x" commands in zebra/ospfd/ospf6d daemons).
111
ajscb585b62005-01-14 17:09:38 +00001122005-01-14 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
113
114 * command.c (print_version): Do not bother even to examine host.name,
115 since it is always NULL when this function is called from main.
116
gdtf867d322005-01-14 15:47:33 +00001172005-01-14 Greg Troxel <gdt@fnord.ir.bbn.com>
118
119 * command.c (print_version): Don't print host.name if it is NULL.
120 Fixes segfault on Solaris reported by Goetz von Escher <goetz@open.ch>
121
ajse22f5512005-01-12 16:18:17 +00001222005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
123
ajs40abf232005-01-12 17:27:27 +0000124 * sigevent.c: (trap_default_signals) Use the SA_SIGINFO flag to
125 pass additional siginfo_t and ucontext_t arguments to core_handler
126 and exit_handler.
127 (core_handler,exit_handler) Now invoked with 3 arguments (using
128 SA_SIGINFO). Pass additional info to zlog_signal.
129 (program_counter) New function to find program counter in ucontext_t,
130 needs to be enhanced to support more platforms (currently works only
131 on Linux/x86).
132 * log.h: Change the zlog_signal prototype to add new arguments
133 siginfo_t * and program_counter.
134 * log.c: (zlog_signal) Add new arguments siginfo and program_counter.
135 Include si_addr and program counter (if non-NULL) in message.
136 And remove #ifdef HAVE_GLIBC_BACKTRACE around hex_append, since
137 that is now used to render the si_addr and PC pointers.
138
1392005-01-12 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
140
ajse22f5512005-01-12 16:18:17 +0000141 * zebra.h: If not C99 and no va_copy macro available, fall back to
142 memcpy (solves a build problem on FreeBSD 4.x).
143
ajsb99760a2005-01-04 16:24:43 +00001442005-01-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
145
146 * zebra.h: Define ZCMSG_FIRSTHDR appropriately based on whether
147 config.h indicates HAVE_BROKEN_CMSG_FIRSTHDR (as determined
148 by the configure test program).
149 * sockopt.c: (getsockopt_cmsg_data) Use ZCMSG_FIRSTHDR instead
150 of CMSG_FIRSTHDR.
151
hassocba8a602005-01-02 18:51:01 +00001522005-01-02 Hasso Tepper <hasso at quagga.net>
153
154 * command.c: Revert int -> unsigned int fixes in
155 cmd_describe_command_real() and cmd_complete_command_real(). index can
156 be actually negative and it caused crash with "do<TAB>" in vty.
157
gdt1d69fdf2004-12-29 18:53:30 +00001582004-12-29 Greg Troxel <gdt@poblano.ir.bbn.com>
159
gdtd44debe2004-12-29 20:06:23 +0000160 * sockopt.c (getsockopt_ipv4_ifindex): Document calling
161 convention. Beef up comments. Handle the case where the cmsghdr
162 has a zero controllen, or more specifically when the wanted option
163 is not present. This is needed for Solaris 8, and in general for
164 any platform for which configure finds a method and it can fail.
165 Mark some changes with XXX to be cleaned up post 0.98.
166
ajsaf04bd72004-12-28 17:00:12 +00001672004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
168
ajs1d75c8c2004-12-28 21:43:17 +0000169 * sockopt.c: (setsockopt_ipv4_ifindex) Improve error message.
170 When neither IP_PKTINFO nor IP_RECVIF is defined, make return value
171 deterministic (-1).
172
1732004-12-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
174
ajsaf04bd72004-12-28 17:00:12 +0000175 * thread.c: (funcname_thread_add_timer_msec) Reduce overflow risk.
176
paul4ba9b922004-12-21 22:34:58 +00001772004-12-21 Paul Jakma <paul.jakma@sun.com>
178
179 * if.h: Add more 'non-generic' IFF_ flags.
180 * if.c: IFF_NOXMIT/IFF_VIRTUAL interfaces are 'loopback like'
paul0e43a2b2004-12-22 00:15:34 +0000181 * stream.c: Dont allocate streams with 0 sized data buffers
paul4ba9b922004-12-21 22:34:58 +0000182
ajs202d08c2004-12-17 20:50:00 +00001832004-12-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs2885f722004-12-17 23:16:33 +0000184
185 * command.c: (do_echo) Added new "echo" command, useful for
186 watchdog pinging to make sure the daemon is responsive.
187
1882004-12-17 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
ajs202d08c2004-12-17 20:50:00 +0000189
190 * pid_output.c: (pid_output_lock) Eliminate static function, and just
191 use the #ifdef to decide which version of the function to include.
192 This eliminates a compilation problem with gcc4. And fix the
193 non-fcntl version so that it actually compiles. Exit with
194 status 1 instead of -1 on error.
195
ajs81fc57c2004-12-15 17:41:14 +00001962004-12-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
197
198 * sigevent.c: (trap_default_signals) Ignore SIGPIPE instead of exiting.
199
ajs3378d202004-12-10 22:43:17 +00002002004-12-10 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
201
202 * log.c: (zlog_signal,_zlog_assert_failed) Change logging level back to
203 LOG_ERR instead of LOG_EMERG.
204
ajsc3324c62004-12-09 17:26:31 +00002052004-12-09 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
206
207 * log.c: (hex_append) No need to include this function if
208 HAVE_GLIBC_BACKTRACE is not defined.
209
ajsb9e70282004-12-08 17:14:45 +00002102004-12-08 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
211
212 * prefix.c: (prefix_copy) Error message before abort should
213 have severity LOG_ERR, not LOG_INFO.
214 * memory.c: (mtype_log) Log level should be LOG_DEBUG, not LOG_INFO.
215
ajs274a4a42004-12-07 15:39:31 +00002162004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
217
ajs8ddca702004-12-07 18:53:52 +0000218 * {smux.c,zclient.c}: Change level of debug messages to LOG_DEBUG.
219
2202004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
221
ajs82146b82004-12-07 17:15:55 +0000222 * command.c: (config_write_host) Note that "log trap" is deprecated
223 when writing out the config.
224
2252004-12-07 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
226
ajs274a4a42004-12-07 15:39:31 +0000227 * log.h: Replace struct zlog flags and maskpri fields with maxlvl
228 array to support individual logging levels for each destination.
229 Remove the 2nd argument to openzlog since the default logging config
230 should be standardized inside the library. Replaced the
231 zlog_set_flag and zlog_reset_flag functions with zlog_set_level.
232 And zlog_set_file now requires an additional log_level argument.
233 Declare zlog_proto_names for use inside command.c in the
234 "show logging" command. Added defines useful for command
235 construction.
236 * log.c: (vzlog) Decide where to send the message based on the
237 individual logging levels configured for each destination.
238 Remove support for ZLOG_STDERR since it was never actually used.
239 Support record-priority for terminal monitors.
240 (zlog_signal,zlog_backtrace_sigsafe) Support destination-specific
241 logging levels. Remove stderr support (was never used). Added
242 support for terminal monitor logging.
243 (_zlog_assert_failed) Increase message severity to LOG_EMERG.
244 (openzlog) Remove 2nd argument since default config should be
245 standardized in library. By default, terminal monitoring
246 is set to debug, and all other logging is disabled.
247 (zlog_set_flag,zlog_reset_flag) Removed.
248 (zlog_set_level) New function to replace zlog_set_flag and
249 zlog_reset_flag. Supports destination-specific logging levels.
250 (zlog_set_file,zlog_reset_file) Support file-specific logging level.
251 (zlog_rotate) Log an error message if fopen fails, and support
252 new file-specific logging level.
253 * command.h: Change DEFUN_CMD_FUNC_DECL and DEFUN_CMD_FUNC_TEXT so that
254 command functions will be static instead of global. Remove
255 declarations for config_exit and config_help. Define new macros
256 DEFUNSH_ATTR, DEFUNSH_HIDDEN, and DEFUNSH_DEPRECATED so we can
257 have deprecated commands in vtysh. Similarly, for completeness,
258 define macros ALIAS_SH, ALIAS_SH_HIDDEN, and ALIAS_SH_DEPRECATED.
259 Also, fix bug in ALIAS_ATTR macro (didn't matter because it
260 was never used).
261 * command.c: Make many functions static instead of global.
262 (facility_name,facility_match,level_match) New functions
263 to support enhanced destination-specific logging levels.
264 (config_write_host) Support new destination-specific logging levels.
265 (config_logmsg) Added new "logmsg" command to help test logging
266 system.
267 (show_logging) Added "show logging" command to show the current
268 configuration of the logging system.
269 (config_log_stdout_level) Support explicit stdout logging level.
270 (no_config_log_stdout) Now takes optional LEVEL arg.
271 (config_log_monitor,config_log_monitor_level,no_config_log_monitor)
272 New commands creating new "log monitor" commands to set terminal
273 monitoring log level.
274 (config_log_file_level) Support explicit file logging level.
275 (config_log_syslog_level) Support explicit syslog logging level.
276 (config_log_facility,no_config_log_facility) Implement new
277 "log facility" command.
278 (cmd_init) Add hooks for new commands: "show logging", "logmsg",
279 "log stdout <level>", "log monitor", "log monitor <level>",
280 "no log monitor", "log file <filename> <level>",
281 "no log file <filename> <level>", "log syslog <level>",
282 "log facility", and "no log facility".
283 * vty.h: Added a "level" argument to vty_log so it can support
284 "log record-priority". Declare new function vty_log_fixed for
285 use in signal handlers.
286 * vty.c: (vty_log,vty_log_out) Added a "level" argument to support
287 "log record-priority" for vty terminal monitors.
288 (vty_down_level) Use config_exit_cmd.func instead of calling
289 config_exit directly (since command functions will now be static
290 instead of global).
291 (vty_log_fixed) New function to send terminal monitor messages
292 from inside a signal handler.
293
ajs887c44a2004-12-03 16:36:46 +00002942004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
295
ajs5e764772004-12-03 19:03:33 +0000296 * log.h: Document appropriate use of syslog logging priorities
297 inside quagga.
298
2992004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
300
ajs56f20692004-12-03 17:40:31 +0000301 * command.h: Remove fields log_stdout and log_syslog from struct host,
302 since they are just trying to duplicate information in the
303 zlog_default structure. Note that this fixes a bug since those
304 fields were not registering any logging that was established
305 in the initial call to openzlog (this affects only the zebra and
306 ospf6d daemons). It is probably a bug to turn on any logging by
307 default in the call to openzlog.
308 * command.c: (config_write_host) Get logging info from zlog_default
309 instead of now-removed fields host.log_stdout and host.log_syslog.
310 (config_log_stdout,no_config_log_stdout) Do not set now-removed field
311 host.log_stdout, since this info is recorded in zlog_default.
312 (config_log_file) Use XSTRDUP (instead of strdup) to set host.logfile.
313 (config_log_syslog,config_log_syslog_facility,no_config_log_syslog)
314 Do not set now-removed field host.log_syslog, since this info is
315 recorded in zlog_default.
316
3172004-12-03 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
318
ajs887c44a2004-12-03 16:36:46 +0000319 * version.h.in: Remove declaration for pid_output_lock, this function
320 is now static, not global.
321 * pid_output.c: (pid_output_lock) This function should be static, not
322 global. And remove "old umask" error message, since it was really
323 an unimportant debug message, not an error.
324 (pid_output) Need to declare static function pid_output_lock.
325
ajs7d149b82004-11-28 23:00:01 +00003262004-11-28 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
327
328 * log.h: Remove several unused fields from struct zlog. Add comments
329 for other fields, and add one new field syslog_options that is
330 used in the new syslog_sigsafe implementation.
331 * log.c: (syslog_sigsafe) New function to send syslog messages in
332 an async-signal safe way that can be used inside a signal handler.
333 (syslog_connect) New function to connect to syslog daemon inside a
334 signal handler. This function supports only systems where /dev/log
335 is a unix datagram socket (e.g. not Solaris).
336 (zlog_signal) Call syslog_sigsafe if syslog logging is enabled.
337 (zlog_backtrace_sigsafe) Call syslog_sigsafe if syslog logging is
338 enabled.
339 (openzlog) Save syslog_options for use in syslog_sigsafe.
340 (num_append) Fix bug: handle 0 properly.
341 (hex_append) New function to print a u_long in hex format.
342
hasso2557aed2004-11-28 21:16:20 +00003432004-11-28 Hasso Tepper <hasso at quagga.net>
344
345 * command.h: DEFUN_DEPRECATED passes attribute to DEFUN as well.
346
ajsd1c51d72004-11-26 14:14:30 +00003472004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
348
ajs48d6c692004-11-26 20:52:59 +0000349 * log.c, log.h, memory.c: Change function name from zlog_backtrace_safe
350 to the more self-explanatory zlog_backtrace_sigsafe.
351
3522004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
353
ajs5b85fac2004-11-26 19:36:42 +0000354 * debug.[ch]: Remove unused files.
355 * Makefile.am: Remove references to debug.c and debug.h
356
3572004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
358
ajs063ee522004-11-26 18:11:14 +0000359 * log.c: (zlog_backtrace) New function to log a backtrace.
360 (zlog_backtrace_safe) Log a backtrace in an async-signal-safe way.
361 Unfortunately, this function does not support syslog logging yet.
362 (zlog_signal) Move backtrace code into separate function
363 zlog_backtrace_safe.
364 (_zlog_assert_failed) Call zlog_backtrace before aborting.
365 * log.h: Declare new functions zlog_backtrace and zlog_backtrace_safe.
366 * memory.c: (zerror) Call zlog_backtrace before aborting.
367
3682004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
369
ajsd1c51d72004-11-26 14:14:30 +0000370 * Makefile.am: Need to add zassert.h to pkginclude_HEADERS.
371
ajse5879ca2004-11-25 16:07:53 +00003722004-11-25 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
373
ajs4cf0d0d2004-11-25 17:14:34 +0000374 * zebra.h: If not C99 and there's no va_copy macro and there is
375 a __va_copy macro, define va_copy as __va_copy.
376
3772004-11-25 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
378
ajse5879ca2004-11-25 16:07:53 +0000379 * pid_output.c: (pid_output_lock) Fix 2 bugs: when locking, should
380 set l_whence to SEEK_SET, not SEEK_END. And after writing new
381 pid to file, must ftruncate to eliminate any extraneous bytes left
382 over from the last time a pid was written.
383
ajscee3df12004-11-24 17:14:49 +00003842004-11-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
385
386 * zassert.h: New header file to declare a quagga-specific assert macro.
387 * log.c: (_zlog_assert_failed) New function called when assert fails
388 to log the error and abort.
389 * zebra.h: Include "zassert.h" instead of <assert.h>.
390 * regex.c: Include "zassert.h" instead of <assert.h>.
391
ajsd246bd92004-11-23 17:35:08 +00003922004-11-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
393
ajs59a06a92004-11-23 18:19:14 +0000394 * sigevent.c: (signal_init) Set up some default signal handlers
395 so that processes will issue an error message before terminating
396 or dumping core.
397 (trap_default_signals) New function to set up signal handlers
398 for various signals that may kill the process.
399 (exit_handler) Call zlog_signal, then _exit.
400 (core_handler) Call zlog_signal, then abort.
401 * log.h: Declare new function zlog_signal.
402 * log.c: (zlog_signal) New function to log information about
403 a received signal before the process dies. Try to log a
404 backtrace also.
405 (quagga_signal_handler,signal_set) Should be static.
406
4072004-11-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
408
ajsd246bd92004-11-23 17:35:08 +0000409 * log.c: (vzlog) Take a single va_list argument and use va_copy
410 as necessary for multiple traversals.
411 (zlog) Pass only one va_list to vzlog.
412 (zlog_*,plog_*) Use a macro for boilerplate code; pass only one
413 va_list to vzlog.
414 (zlog_set_file) Remove unused 2nd argument (flags).
415 (zlog_save_cwd,zlog_get_cwd,zlog_free_cwd) Remove unused functions.
416 * log.h: Remove ZLOG_*_INDEX defines (no longer used).
417 Remove unused 2nd argument from zlog_set_file prototype.
418 Fix prototype for zlog_rotate.
419 * command.c: (config_log_file) Remove unused 2nd arg to zlog_set_file.
420 * vty.c: (vty_out) Fix stdarg usage to perform multiple traversals
421 properly.
422 (vty_log) Must use va_copy for multiple traversals of va_list arg.
423
ajsca359762004-11-19 23:40:16 +00004242004-11-19 David Young <dyoung@pobox.com>
425
426 * log.c: (safe_strerror) New function: safe wrapper for strerror.
427
ajsff29bb32004-11-19 18:29:22 +00004282004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
429
430 * sockopt.c: (setsockopt_so_recvbuf) Stop error message from being
431 printed every time.
432
ajsf858e492004-11-16 14:25:30 +00004332004-11-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
434
435 * memory.h: Fix prototype for memory_init().
436 * memory.c: Declare many functions and data structures static instead
437 of global. Fix prototype for memory_init().
438
gdt69e13252004-11-15 18:51:15 +00004392004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
440
441 * sockopt.h: Avoid CMSG_ALIGN, and declare that sizes are without
442 alignment (users should use CMSG_SPACE).
443
444 * zebra.h: Rationalize CMSG_SPACE compatibility defines. Warn if
445 asumming 4-byte alignment, since this isn't safe.
446
ajs7fa25ff2004-11-15 16:12:32 +00004472004-11-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
448
449 * memory.c: (zerror) Use zlog_err instead of fprintf to stderr.
450 Instead of exiting, log currenty memory usage and then abort.
451 (log_memstats) New function to log memory statistics, called by
452 zerror.
453 (show_memory_all) Loop over new mlists array instead of calling
454 show_memory_vty separately for each memory_list.
455
paulb86718e2004-11-08 17:34:07 +00004562004-11-08 Paul Jakma <paul@dishone.st>
paulb35e5b42004-11-07 22:27:27 +0000457
paul2265d202004-11-08 15:43:21 +0000458 * buffer.c: Add missing include of log.h.
459 (buffer_flush_available) written is compared against
460 mostly against unsigned types, only for the writev do we need
461 signed compare, so declare it as size_t and cast it to ssize_t
462 just for the error compare when we've called writev.
463 * buffer.h: Add comment that buffer data sizes really should be
464 size_t.
465
4662004-11-07 Paul Jakma <paul@dishone.st>
467
468 * version.h.in: add autoconf configure_input output var
paulb35e5b42004-11-07 22:27:27 +0000469
ajs49ff6d92004-11-04 19:26:16 +00004702004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
471
ajs5a646652004-11-05 01:25:55 +0000472 * vty.h: Remove fields in struct vty that were related to VTY_CONTINUE
473 capabilities (that were used only in bgpd/bgp_route.c and are now
474 removed). Also remove some other fields that were not being
475 used at all.
476 * vty.c: (vty_execute) Do not test for obsolete status values VTY_START
477 and VTY_CONTINUE.
478 (vty_read) Remove calls to vty->output_func since that was part
479 of the VTY_CONTINUE infrastructure that has been removed.
480 (vty_flush) Remove code to support VTY_START and VTY_CONTINUE.
481 (vty_close) Remove code to cancel vty->t_output thread, since that
482 thread was never actually used.
483
4842004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
485
ajs49ff6d92004-11-04 19:26:16 +0000486 * vty.c: Vtysh connections to daemons should use buffering.
487 (vty_out) Remove exception for vty_shell_serv, just use buffer_write.
488 (vty_new) Increase output buffer size to 4096 rounded up to a
489 multiple of pagesize.
490 (vtysh_read) After command has been executed and all output buffered,
491 call buffer_flush_available and schedule further writes if the
492 buffers are not yet empty.
493 (vtysh_write) New function to flush output to vtysh when the socket
494 is writeable.
495 (vty_event) Added new VTYSH_WRITE event for flushing buffers to vtysh
496 clients. Also, should save read thread in vty->t_read so the
497 thread can be cancelled in vty_close.
498 * buffer.h: In struct buffer_data, remove unused "parent" field.
499 Convert "unsigned char *data" to "unsigned char data[0]" to save
500 a malloc. Declare new function buffer_flush_available that works
501 with non-blocking sockets.
502 * buffer.c: (buffer_data_new) Use a single malloc now that data is
503 a variable-size array at end of structure.
504 (buffer_data_free) Just a single free now that data is part of the
505 structure.
506 (buffer_write) Simplify the logic to make behavior more transparent.
507 (buffer_flush) Decrease b->length as data is written out.
508 (buffer_flush_vty_all) Decrease b->length as buffers are freed.
509 (buffer_flush_vty) Decrease b->length as data is written out.
510 (buffer_flush_available) New function to flush non-blocking sockets.
511
paule064d6d2004-11-01 08:59:21 +00005122004-11-01 Paul Jakma <paul@dishone.st>
513
514 * sockopt.c: (setsockopt_pktinfo) remove, its unused.
515
paul75e15fe2004-10-31 02:13:09 +00005162004-10-31 Paul Jakma <paul@dishone.st>
517
518 * vty.c: As per Andrew's suggestions..
519 (vty_serv_un) remove flags.
520 (vtysh_accept) close socket if we cant set NONBLOCK. Add flags.
paul66cbbce2004-10-31 16:15:33 +0000521 * keychain.c: Convert some more strtoul users to VTY_GET_INTEGER.
paul9d11a192004-10-31 16:19:24 +0000522 * memory.h: Add MTYPE_THREAD_FUNCNAME and MTYPE_THREAD_STATS
523 * thread.c: Update stats and funcname alloc/free to use previous
paul039b9572004-10-31 16:43:17 +0000524 specific memory type defines. Use XCALLOC and sizeof the type,
525 not the pointer.
paul70e149e2004-10-31 16:29:50 +0000526 * smux.c: fix int to size_t compile warnings
paul75e15fe2004-10-31 02:13:09 +0000527
pauldccfb192004-10-29 08:29:36 +00005282004-10-29 Paul Jakma <paul@dishone.st>
529
530 * vty.c: Move setting of sock to O_NONBLOCK from vty_serv_un
531 to vtysh_accept, where sock is the actual fd we wanted to set to
532 O_NONBLOCK, ie the /connected/ vtysh unix socket.
533
hasso508ec912004-10-23 14:26:49 +00005342004-10-23 Hasso Tepper <hasso at quagga.net>
535
536 * zclient.c: Unbreak reading interface update message. Might fix
537 blocker bugzilla #109.
538
paul23b9c612004-10-22 11:51:57 +00005392004-10-22 Paul Jakma <paul@dishone.st>
paul7d9c6e52004-10-22 10:54:39 +0000540
541 * sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not
paul23b9c612004-10-22 11:51:57 +0000542 -1.
543 (setsockopt_pktinfo) unexported
544 * sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway
545 define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have
paul4ccb2c42004-10-22 22:52:33 +0000546 neither IP_RECVIF nor IP_PKTINFO (eg openbsd), thanks to Rivo
547 Nurges for highlighting problem and fix.
paul4927cf02004-10-22 16:55:10 +0000548 Fix elif that should be an else.
paul406d6712004-10-22 12:27:44 +0000549 * command.h: Cleanup the defines a bit, add helper defines and
550 collapse all defines to use those. Add an attribute field to
551 cmd_element to support, eg hidden or deprecated commands, add
552 defun defines for such. All that's left to do is add logic
553 to command.c to check these attributes... ;)
paulaf0d97e2004-10-22 23:24:43 +0000554 * zebra.h: reserve ZEBRA_ROUTE_HSLS
paul7d9c6e52004-10-22 10:54:39 +0000555
hasso6590f2c2004-10-19 20:40:08 +00005562004-10-19 Hasso Tepper <hasso at quagga.net>
557
558 * version.h.in: Define copyright string QUAGGA_COPYRIGHT.
559 * print_version.c: Remove. print_version () function moved to
560 command.[c|h].
561 * command.c: Use QUAGGA_COPYRIGHT.
562 * Makefile.am: Remove useless version.c and print_version.c files.
563
hasso3fb9cd62004-10-19 19:44:43 +00005642004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
565
566 * zclient.c: (zebra_interface_address_read) If the destination address
567 is encoded as all zeroes, load it as a NULL pointer.
568 * if.h: Add comment describing struct connected destination field
569 and indicating that it may be NULL. Define macros
570 CONNECTED_DEST_HOST and CONNECTED_POINTOPOINT_HOST to help
571 with PtP logic (distinguish between host and subnet addressing).
572 * if.c: (if_lookup_address) Fix PtP logic to handle subnet addressing
573 properly,
574 (connected_lookup_address) ditto.
575 (connected_add_by_prefix) Handle case where destination is NULL,
576 * prefix.[c|h]: New functions ipv4_network_addr and
577 ipv4_broadcast_addr.
578
hassoddd85ed2004-10-13 08:18:07 +00005792004-10-13 Hasso Tepper <hasso at quagga.net>
580
581 * command.c: Make CMD_ERR_NOTHING_TODO nonfatal if reading
582 configuration from file. Fixes critical bugzilla #113.
hassoc75105a2004-10-13 10:33:26 +0000583 * smux.c, smux.h: Remove all defaults to initialize smux connection to
584 snmpd by default even if not configured to do so. "smux peer OID
585 <password>" initializes now connection and "no smux peer" terminates
586 it.
hassoddd85ed2004-10-13 08:18:07 +0000587
paul42d49862004-10-13 05:22:18 +00005882004-10-13 Paul Jakma <paul@dishone.st>
589
590 * (global) more const'ification.
591 * sockunion.c: (sockunion_su2str) buffer should be sized
592 SU_ADDRSTRLEN.
593 (sockunion_log) do not return stack variables, strdup buf before
594 return.
595 * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied
596 values against ULONG_MAX is daft, when caller probably has passed
597 a type that can not hold ULONG_MAX. use a temporary long instead.
598 Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make
599 VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
600
hassoa1494112004-10-11 12:53:17 +00006012004-10-11 Hasso Tepper <hasso at quagga.net>
602
603 * command.h: Sync DEFUNSH with other macros.
604 * sockunion.c, sockunion.h: More const strings.
605
paul9076fbd2004-10-11 09:40:58 +00006062004-10-11 Paul Jakma <paul@dishone.st>
607
608 * thread.c: (funcname_thread_add_timer)
609 (funcname_thread_add_timer_msec) Fix mistakes from last change.
610 Pointed out by Liu Xin in [quagga-dev 1609].
paulc9eca012004-10-11 11:28:44 +0000611 * if.h: mtu's should be unsigned.
612 * routemap.{c,h}: const char updates
613 * smux.{c,h}: ditto
paul9076fbd2004-10-11 09:40:58 +0000614
paul9035efa2004-10-10 11:56:56 +00006152004-10-10 Paul Jakma <paul@dishone.st>
paul47ca2952004-10-10 08:03:18 +0000616
617 * version.h.in: (pid_output*) add const qualifier.
paul9035efa2004-10-10 11:56:56 +0000618 * command.h: Change DEFUN func to take const char *[] rather
619 than char **, to begin process of fixing compile warnings in lib/.
620 Nearly all other changes in this commit follow from this change.
621 * buffer.{c,h}: (buffer_write) pointer-arithmetic is gccism, take
622 const void * and cast an automatic const char *p to it.
623 (buffer_putstr) add const
624 * command.c: (zencrypt) const qualifier
625 (cmd_execute_command_real) ditto
626 (cmd_execute_command_strict) ditto
627 (config_log_file) ditto.
628 Fix leak of getcwd() returned string.
629 * memory.{c,h}: Add MTYPE_DISTRIBUTE_IFNAME for struct dist ifname.
630 * distribute.{c,h}: Update with const qualifier.
631 (distribute_free) use MTYPE_DISTRIBUTE_IFNAME
632 (distribute_lookup) Cast to char *, note that it's ok.
633 (distribute_hash_alloc) use MTYPE_DISTRIBUTE_IFNAME.
634 (distribute_get) Cast to char *, note that it's ok.
635 * filter.c: Update with const qualifier.
636 * if.{c,h}: ditto.
637 * if_rmap.{c,h}: ditto.
638 (if_rmap_lookup) Cast to char *, note that it's ok.
639 (if_rmap_get) ditto.
640 * log.{c,h}: Update with const qualifier.
641 * plist.{c,h}: ditto.
642 * routemap.{c,h}: ditto.
643 * smux.{c,h}: ditto. Fix some signed/unsigned comparisons.
644 * sockopt.c: (getsockopt_cmsg_data) add return for error case.
645 * vty.c: Update with const qualifier.
646
hasso27a43a82004-10-08 06:29:12 +00006472004-10-08 Hasso Tepper <hasso at quagga.net>
648
649 * routemap.c, routemap.h: Make some string arguments const.
650
paul5973ee72004-10-08 01:36:54 +00006512004-10-05 Paul Jakma <paul@dishone.st>
652
653 * version.h.in: print_version declaration is here, not in automake
654 generated version.h.
655
hassoea8e9d92004-10-07 21:32:14 +00006562004-10-08 Hasso Tepper <hasso at quagga.net>
657
658 * command.c, command.h: Make argument of cmd_make_strvec function
659 const.
660 * command.c: Make hostname commands usable in vtysh again.
661
hasso6ad96ea2004-10-07 19:33:46 +00006622004-10-07 Hasso Tepper <hasso at quagga.net>
663
664 * command.c, pid_output.c, print_version.c, vty.c, vty.h: Make more
665 strings const.
666
hasso8c328f12004-10-05 21:01:23 +00006672004-10-05 Hasso Tepper <hasso at quagga.net>
668
669 * *.[c|h]: Make many strings cons and a lot of int -> unsigned int
670 changes to fix warnings.
671
paul96e27c92004-10-05 14:33:43 +00006722004-10-05 Paul Jakma <paul@dishone.st>
673
674 * sockopt.{c,h}: add sockopt_iphdrincl_swab_{htosys,systoh},
675 functions to change byte order between system IP_HDRINCL order
676 and host order.
paul98c91ac2004-10-05 14:57:50 +0000677 * thread.c: (funcname_thread_add_timer_timeval) new function, add
678 timer at specified timeval.
679 (funcname_thread_add_timer) use funcname_thread_add_timer_timeval.
680 (funcname_thread_add_timer_msec) ditto
paul96e27c92004-10-05 14:33:43 +0000681
hassob04c6992004-10-04 19:10:31 +00006822004-10-04 Hasso Tepper <hasso at quagga.net>
683
684 * memory.c, memory.h: Make char * argument of strdup functions const.
685 * prefix.c, prefix.h: Make many arguments const. Reorder stuff in
686 header.
687 * log.h: Make log message const in struct message.
688 * log.c: Fix some indenting.
689 * network.c, network.h: Make second argument of writen() const.
690
hassoe7168df2004-10-03 20:11:32 +00006912004-10-03 Hasso Tepper <hasso at quagga.net>
692
693 * command.h: Introduce SERVICE_NODE for "service <...>" commands.
694 * command.c: Don't initialize commands that don't make sense if vtysh
695 is used.
696 * vty.c: Make VTY_NODE appear in vtysh.
697
hasso18a6dce2004-10-03 18:18:34 +00006982004-10-03 James R. Leu <jleu at mindspring.com>
699
700 * zclient.c, zclient.h: zclient functions for router id handling.
701 * zebra.h: New message types for router id handling.
702
paul9172ee02004-09-27 12:46:37 +00007032004-09-27 Paul Jakma <paul@dishone.st>
704
705 * zebra.h: Add WANT_OSPF_WRITE_FRAGMENT for ospfd
706 to try to fragment oversized packets. Enabled only for Linux.
707 Add HAVE_IP_HDRINCL_BSD_ORDER to define struct ip byte order,
708 to consolidate various ad-hoc platform defines for same thing.
709
hassoe473b032004-09-26 16:08:11 +00007102004-09-26 Hasso Tepper <hasso at quagga.net>
711
712 * vty.c, sockopt.c: Fix compiler warnings.
713
hasso52dc7ee2004-09-23 19:18:23 +00007142004-09-23 Hasso Tepper <hasso at quagga.net>
715
716 * linklist.h: Remove list and listnode typedefs.
717 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
718
paul0b3acf42004-09-17 08:39:08 +00007192004-09-17 Paul Jakma <paul@dishone.st>
720
paulb89e60c2004-09-21 15:43:13 +0000721 * sockopt.c: Add missing bracket
722
7232004-09-17 Paul Jakma <paul@dishone.st>
724
paul0b3acf42004-09-17 08:39:08 +0000725 * sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd.
726
paul33394762004-09-13 11:27:57 +00007272004-09-13 Paul Jakma <paul@dishone.st>
728
729 * command.c: Update the copyright string in the default motd.
730
gdt630e4802004-08-31 17:28:41 +00007312004-08-31 David Wiggins <dwiggins@bbn.com>
732
733 * hash.c (hash_iterate): Save next pointer before calling
734 procedure, so that iteration works even if the called procedure
735 deletes the hash backet.
736
737 * linklist.h (listtail): new macro, not yet used.
738
hasso34553cc2004-08-27 13:56:39 +00007392004-08-27 Hasso Tepper <hasso at quagga.net>
740
741 * command.c: Install "terminal length" commands only if vty is used.
742 Vtysh will handle it itself.
743
gdtafa43b22004-08-26 13:12:41 +00007442004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
745
746 * sockopt.h: Define method-independent macro for callers of
747 get_ifindex to use for cmsg length.
748
paule6822762004-08-19 04:13:29 +00007492004-08-19 Paul Jakma <paul@dishone.st>
750
paulefba6ce2004-08-25 13:47:16 +0000751 * zebra.h: add MAX and MIN defines (eg for ospf6d)
752
7532004-08-19 Paul Jakma <paul@dishone.st>
754
paule6822762004-08-19 04:13:29 +0000755 * sockopt.c: include sockopt.h
756 rename some of the _pktinfo_ functions to _ifindex, where that is
757 their purpose.
758 (getsockopt_ipv6_pktinfo_ifindex) renamed to
759 getsockopt_ipv6_ifindex.
760 (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex
761 (setsockopt_pktinfo) update with previous and add comment re
762 AF_INET portability.
763 (setsockopt_ifindex) generic ifindex function ala
764 setsockopt_pktinfo.
765 (getsockopt_ipv4_pktinfo_ifindex) renamed to
766 getsockopt_ipv4_ifindex.
767 (getsockopt_ipv4_ifindex) rejiggling to reduce repeated
768 ifdef/elses. pktinfo case forgot to set ifindex.
769 (getsockopt_pktinfo_ifindex) renamed to
770 getsockopt_ifindex. update some calls to renamed functions.
771 * sockopt.h: Update renamed exported functions
772 Rename the CMSG_SIZE macros to IFINDEX.
773 Guard IPv4 PKTINFO in a conditional define.
774
paulc0618de2004-08-18 21:52:58 +00007752004-08-18 Paul Jakma <paul@dishone.st>
776
777 * vty.c: (vty_serv_un) set unix vty socket to nonblocking
778 to prevent inadvertent blocking of daemons by use of
779 vtysh. TODO: disentangle manual paging from the buffer_write
780 path so that unix vty can use this path too and be reliable.
781
gdt33f92322004-07-23 16:14:32 +00007822004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
783
784 * sockopt.c (getsockopt_ipv4_pktinfo_ifindex): Make this compile
785 on NetBSD, and add comments to make it less confusing. Change the
786 sense of the SUNOS_5 test to make parallel structure between the
787 variables and the code.
788
paul4f7baa02004-07-23 15:11:07 +00007892004-07-23 Paul Jakma <paul@dishone.st>
790
791 * sockopt.h: Add SOPT_SIZE_CMSG_PKTINFO{_IPV{4,6}} define, for
792 sizeof pktinfo as appropriate, to be used when allocating msg
793 buffers. export setsockopt_pktinfo() and
794 getsockopt_pktinfo_ifindex()
795 * sockopt.c: (setsockopt_pktinfo_ifindex) new function to portably
796 set received ifindex sock option.
797 (getsockopt_pktinfo_ifindex) portably retrieve ifindex.
798 (getsockopt_cmsg_data) retrieve indicated control info from
799 message header.
800 (getsockopt_ipv6_pktinfo_ifindex) ipv6 version of above.
801 (setsockopt_ipv4_pktinfo) v4 version
802 (setsockopt_pktinfo) the exported version
803 (getsockopt_ipv4_pktinfo_ifindex) v4 specific version
804 (getsockopt_pktinfo_ifindex) the exported version
805
paul05c447d2004-07-22 19:14:27 +00008062004-07-14 Paul Jakma <paul@dishone.st>
807
808 * sigevent.c: (quagga_signal_handler) add a global caught flag, set
809 the flags to a constant rather increment to be kinder.
810 (quagga_sigevent_process) new function, to do core of what
811 quagga_signal_timer did. dont block signals at all as sig->caught
812 is volatile sig_atomic_t and should be safe to access from signal
813 and normal contexts. The signal blocking is unneeded paranoia, but
814 is left intact under an ifdef, should some platform require it.
815 Check global caught flag before iterating through array.
816 (quagga_signal_timer) nearly everything moved to
817 quagga_sigevent_process. Left in under ifdef, in case some
818 platform could use a regular timer check for signals.
819 * sigevent.h: quagga_sigevent_process declaration.
820 * thread.c: (thread_fetch) check for signals at beginning of
821 scheduler loop, check for signals if select returns EINTR.
822
gdtb7797132004-07-13 13:47:25 +00008232004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>
824
825 * sigevent.c: Don't block SIGTRAP and SIGKILL. Blocking SIGTRAP
826 confuses gdb, at least on NetBSD 2.0_BETA, where the block
827 succeeds.
828
paul5510e832004-07-09 14:00:01 +00008292004-07-09 Paul Jakma <paul@dishone.st>
830
831 * Merge Kunihiro's 'show route-map' change and add
832 compatibility aliases for route-map continue
paulb9790b32004-07-09 14:05:47 +0000833 * jhash.{c,h}: New files. Bob Jenkins' public domain hashing
834 function, as implemented in linux kernel by David Miller.
paul5510e832004-07-09 14:00:01 +0000835
paulb06c14f2004-07-09 12:24:42 +00008362004-07-09 Juris Kalnins <juris@mt.lv>
837
838 * if.c: (if_cmp_func) fix for interface names where name is same,
839 but one has no number, eg "devtyp" and "devtyp0".
840
gdt87efd642004-06-30 17:36:11 +00008412004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
842
843 * Makefile.am: Make libzebra shared.
844
paul138ce752004-06-21 10:35:59 +00008452004-06-21 Paul Jakma <paul@dishone.st>
846
847 * ChangeLog: fix my last update config.h -> zebra.h ;)
848 * zebra.h: Fix gcc check.
849
paul02ff83c2004-06-11 11:27:03 +00008502004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
851
852 * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast
853 to u_char. (ipv6_access_list_remark_cmd) ditto.
854 if.c: ditto
855 * network.c: (readn/writen) pointer arg should be type u_char.
856 * plist.c: needs to include stream.h, not declare stream functions
857 internally.
858 (various) Add static qualifier to internal functions.
859 (prefix_list_type_str) extraneous breaks in switch statement.
860 (ip_prefix_list_description_cmd) buffer_putstr doesnt need cast
861 * stream.h: depends on plist.h and export stream_put_prefix
862 * vty.c: (vty_<telnet option build functions>) should use
863 unsigned char, telnet options are 0 -> 255.
864 * zclient.c: various u_char<->char type cleanups.
865 * zebra.h: Having to define CMSG_* can apply to more than just
866 BSDI_NRL.
867
paul51a87982004-06-09 10:36:05 +00008682004-06-09 Paul Jakma <paul@dishone.st>
869
paul138ce752004-06-21 10:35:59 +0000870 * zebra.h: __attribute__ is a gcc'ism
paul51a87982004-06-09 10:36:05 +0000871
paul5228ad22004-06-04 17:58:18 +00008722004-06-04 Paul Jakma <paul@dishone.st>
873
874 * type mismatch fixes
875
hasso6708fa32004-05-18 18:46:54 +00008762004-05-18 Hasso Tepper <hasso@estpak.ee>
877
878 * pqueue.[c|h]: Added as part of ospf6d merge from Zebra repository.
879
paul0a589352004-05-08 11:48:26 +00008802004-05-08 Paul Jakma <paul@dishone.st>
881
882 * zclient.c (zapi_ipv4_route) Follow Sowmini's lead and describe
883 message format.
884
8852004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
886
887 * zclient.c: (zapi_ipv4_add) collapsed into zapi_ipv4_route
888 (zapi_ipv4_delete) ditto.
889 (zapi_ipv4_route) add/delete a route by way of cmd arg.
890 (zapi_ipv6_add) collapsed into zapi_ipv6_route.
891 (zapi_ipv6_delete) ditto.
892 (zapi_ipv6_route) add/delete a route by way of cmd arg.
893 (zebra_interface_address_delete_read) collapsed into
894 zebra_interface_address_read.
895 (zebra_interface_address_delete_read) ditto.
896 (zebra_interface_address_read) read address add/delete messages
897 by way of type argument. Describe command message format.
898 (zebra_interface_add_read) Unconditionally read new ifmtu6 field.
899 Describe command message format.
900 (zebra_interface_state_read) Unconditionally read new ifmtu6 field.
901 (zclient_redistribute_set) Collapsed into zclient_redistribute
902 (zclient_redistribute_unset) ditto
903 (zclient_redistribute) set/unset redistribution.
904 (zclient_redistribute_default_set) Collapsed into
905 zclient_redistribute_default.
906 (zclient_redistribute_default_unset) ditto.
907 (zclient_redistribute_default) Redistribute default set/unset.
908 * zclient.h: delete zapi_ipv{4,6}_add, zapi_ipv{4,6}_delete. Add
909 zapi_ipv{4,6}_route. delete zclient_redistribute_set/unset. Add
910 zclient_redistribute. Ditto for
911 zclient_redistribute_default_{set/unset}.
912
paul4a7aac12004-05-08 05:00:31 +00009132004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
914
915 * if.h: Add mtu6 field to struct interface, IPv6 MTU may differ
916 from IPv4, and Solaris treats the MTU's differently.
917 Add connected_add_by_prefix, for use by later patch.
918 * if.c: (connected_add_by_prefix) Add prefix to connected list.
919 (if_flag_dump) Solaris: Dump IFF_IPv4/6 flag
920 (if_dump) Dump mtu6 flag, for HAVE_IPV6.
paul22528292004-05-08 05:10:38 +0000921 * command.c: (sockunion_getsockname) use socklen_t for len.
922 (sockunion_getpeername) ditto.
paul0a589352004-05-08 11:48:26 +0000923
paul31fcdd32004-04-21 11:00:43 +00009242004-04-21 Boris Kovalenko <boris@tagnet.ru>
925
926 * daemon.c: (daemon) fix check for error return from setsid
927
paulc49b3062004-01-19 21:23:37 +00009282004-01-19 Paul Jakma <paul@dishone.st>
929
930 * sigevent.{c,h}: New files, implement event handled signals.
931 see signal_init() in sigevent.h.
932
jardinc32e1b52003-12-23 09:06:51 +00009332003-12-23 Vincent Jardin <jardin@6wind.com>
934
935 * {command.c, memory.c, vty.c, zebra.h}: Add isisd support
936
gdt3dbf9962003-12-22 20:18:18 +00009372003-12-22 Greg Troxel <gdt@fnord.ir.bbn.com>
938
939 * vty.c (vty_use_backup_config): Don't free filenames before using
940 them for unlink.
941
paul54aba542003-08-21 20:28:24 +00009422003-08-20 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
943
944 * command.c: Fix <cr> display problem for command line
945 description
946
paule9af5c72003-05-24 11:54:31 +00009472003-05-24 Anil Madhavapeddy
948
949 * (sockunion.c): Incorrect bounds specified in sockunion_log()
950
paul445f1432003-05-16 19:00:31 +00009512003-05-08 Sergiy Vyshnevetskiy <serg @ vostok.net>
952
953 * vty.c: -A option
954
9552003-04-19 Hasso Tepper <hasso@estpak.ee>
956
957 * rip_routemap.c: sync daemon's route-map commands to have same
958 syntax
959
paul718e3742002-12-13 20:15:29 +00009602002-09-28 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
961
962 * vty.c (vty_flush): One line more on vty.
963
9642002-09-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
965
966 * vector.c (vector_lookup): Add new function.
967
9682002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
969
970 * thread.c (timeval_adjust): Fix unconditional crush due to
971 FreeBSD's select() system call timeval value check.
972
9732002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
974
975 * zebra-0.93 released.
976
9772002-06-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
978
979 * if.c (ifc_pointopoint): Add ifc_pointopoint() accoding to Frank
980 van Maarseveen's suggestion.
981
9822002-06-18 Kunihiro Ishiguro <kunihiro@zebra.org>
983
984 * command.c: Change bcopy() to memcpy().
985
9862001-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
987
988 * command.c (config_password): Fix host.password clear bug.
989 Reported by Wang Jian <lark@linux.net.cn>.
990
9912001-08-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
992
993 * thread.c (thread_should_yield): New function to check thread
994 should yeild it's execution to other thread. Suggested by: Rick
995 Payne <rickp@ayrnetworks.com>
996
9972001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
998
999 * thread.c (thread_timer_cmp): Rewrite function.
1000
1001 * hash.c: Add hash_get(). Change hash_pull() to hash_release().
1002
10032001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1004
1005 * zebra-0.92a released.
1006
10072001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
1008
1009 * zebra-0.92 released.
1010
10112001-08-12 Akihiro Mizutani <mizutani@dml.com>
1012
1013 * prefix.c (netmask_str2prefix_str): Convert "1.1.0.0 255.255.0.0"
1014 string to "1.1.0.0/16".
1015
10162001-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1017
1018 * filter.c (access_list_lookup): access_list_lookup's first
1019 argument is changed from address family to AFI.
1020
1021 * plist.c: (prefix_list_lookup): Likewise.
1022
10232001-07-27 Akihiro Mizutani <mizutani@dml.com>
1024
1025 * plist.c: ge and le display order is changed. Old compatible
1026 rule (len <= ge-value <= le-value) is removed.
1027
10282001-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1029
1030 * prefix.h: Temporary fix for alignment of prefix problem.
1031
10322001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1033
1034 * prefix.h (struct prefix): Remove safi and padding field.
1035 (struct prefix_ipv4): Likewise.
1036 (struct prefix_ipv6): Likewise.
1037 (struct prefix_ls): Likewise.
1038 (struct prefix_rd): Likewise.
1039
1040 * command.h (enum node_type): Preparation for BGP new config.
1041
1042 * vty.c (vty_end_config): Likewise.
1043
10442001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1045
1046 * routemap.c (route_map_rule_delete): Call func_free when
1047 route-map rule is deleted.
1048
10492001-06-14 "Akihiro Mizutani" <mizutani@dml.com>
1050
1051 * routemap.c (route_map_index_lookup): Prevent to use deny and
1052 permit for same route-map sequence.
1053
10542001-04-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1055
1056 * vty.c (vty_read_config): Fix warning.
1057
10582001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1059
1060 * command.c (IPV6_PREFIX_STR): Add '.' and '%' for IPv6 address
1061 strings.
1062
10632001-03-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1064
1065 * zebra.h (_XPG4_2): Define _XPG4_2 and __EXTENSIONS__ for
1066 CMSG_FIRSTHDR.
1067
10682001-03-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1069
1070 * zebra.h (struct in_pktinfo): structure in_pktinfo declaration.
1071
10722001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1073
1074 * memory.c (memory_list_lib): Add MTYPE_NEXTHOP for "show memory
1075 lib" member.
1076
10772001-02-13 Matthew Grant <grantma@anathoth.gen.nz>
1078
1079 * vty.c (vty_read_config): Revert check of integrate_default when
1080 VTYSH is defined.
1081
10822001-02-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1083
1084 * vty.c (vty_read_config): Do not check integrate_default. That
1085 should be used only by vtysh.
1086
10872001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
1088
1089 * vty.c (vty_serv_un): Set umask 0077.
1090 (vty_read_config): Stat for vtysh Zebra.conf, if found startup and
1091 wait for boot configuration.
1092
1093 * if.c (if_lookup_address): Make it smart implementation.
1094
1095 * sockopt.c (setsockopt_multicast_ipv4): Set up a multicast socket
1096 options for IPv4 This is here so that people only have to do their
1097 OS multicast mess in one place rather than all through zebra,
1098 ospfd, and ripd .
1099
11002001-02-04 Akihiro Mizutani <mizutani@dml.com>
1101
1102 * plist.c (vty_prefix_list_install): Even when argument is
1103 invalid, new memory is allocated. Now memory allocation is done
1104 after argument check.
1105
11062001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1107
1108 * zebra-0.91 is released.
1109
11102001-01-31 Akihiro Mizutani <mizutani@dml.com>
1111
1112 * vty.c (vty_login): Add vty login command.
1113
11142001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1115
1116 * vty.c (vty_reset): Close accept socket.
1117
11182001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1119
1120 * memory.h (enum): MTYPE_ATTR_TRANSIT is added for unknown transit
1121 attribute.
1122
11232001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1124
1125 * zclient.c (zebra_interface_address_add_read): Fetch interface
1126 address flag.
1127 (zebra_interface_address_delete_read): Likewise.
1128
11292001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1130
1131 * table.c (route_node_match_ipv4): Utility function for IPv4
1132 address lookup.
1133 (route_node_match_ipv6): Utility function for IPv4 address lookup.
1134
11352001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1136
1137 * if.c: Delete RIP_API part until new implementation comes out.
1138
11392001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1140
1141 * hash.h (struct Hash): Rename alloc to count. Change type to
1142 unsigned long.
1143
1144 * stream.c (stream_getc_from): New function.
1145 (stream_getw_from): Likewise.
1146
1147 * zebra.h (ZEBRA_FLAG_STATIC): Add new flag for persistent route.
1148
11492001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1150
1151 * flap.c: File is removed.
1152
1153 * flap.c: Likewise.
1154
1155 * roken.h: Likewise.
1156
1157 * buffer.c (buffer_new): Remove type option to buffer_new().
1158
11592001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1160
1161 * zclient.c (zapi_ipv4_delete): Remove OLD_RIB part.
1162
11632001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1164
1165 * zebra-0.90 is released.
1166
1167 * command.c: Update Copyright year.
1168
11692001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
1170
1171 * if.c (if_create): Register connected_free() function for
1172 deletion.
1173 (if_delete): Free connected information when the interface is
1174 deleted.
1175 (if_lookup_by_index): Fix argument type from int to unsigned int.
1176 (connected_add): Keep list in order if old info found, essential
1177 for repeatable operation in some daemons.
1178
11792001-01-09 endo@suri.co.jp (Masahiko Endo)
1180
1181 * vty.c (vty_flush): When vty->statis is VTY_CLOSE do not add vty
1182 read thread.
1183
11842001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1185
1186 * filter.c (access_list_delete): Access-list name is not freed.
1187
1188 * plist.c (prefix_list_delete): Prefix-list name is not freed.
1189
11902000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1191
1192 * zclient.c (zclient_start): Change to use UNIX domain
1193 socket for zebra communication.
1194
1195 * vector.c (vector_init): vector_alloc and vector_data_alloc is
1196 removed. All memory allocation count should be maintained by
1197 XMALLOC and XFREE macros.
1198
11992000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1200
1201 * zebra.h (ZEBRA_NEXTHOP_IFINDEX): Define ZEBRA_NEXTHOP_* values.
1202
12032000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1204
1205 * zebra.h (ZEBRA_ERR_RTEXIST): Make zebra error code to negative
1206 value.
1207
12082000-12-25 "Wataru Uno" <wataru@po.ntts.co.jp>
1209
1210 * vty.c (vtysh_read): Don't allocate new buffer because buffer is
1211 allocated in vty_new ().
1212
12132000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1214
1215 * memory.h (enum): Add MTYPE_AS_FILTER_STR.
1216
1217 * command.c (config_write_terminal): Display "end" at the end of
1218 configuration.
1219
1220 * plist.c (vty_prefix_list_install): Use AF_INET to determine
1221 lenum length.
1222
12232000-12-13 "Wataru Uno" <wataru@po.ntts.co.jp>
1224
1225 * buffer.c (buffer_flush_vty): If IOV_MAX defined in the System,
1226 then all lines write by IOV_MAX.
1227
12282000-12-12 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
1229
1230 * command.c (config_write_file): Robust method for writing
1231 configuration file and recover from backing up config file.
1232
12332000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1234
1235 * smux.c (smux_connect): More fail check.
1236 (smux_trap): When SMUX connection is not established, do nothing.
1237
12382000-11-28 Gleb Natapov <gleb@nbase.co.il>
1239
1240 * thread.c (thread_fetch): Execut event list first. Old event
1241 list is renamed to ready list. With this change, event thread is
1242 executed before any other thread.
1243
1244 * thread.h (struct thread_master): Add ready list.
1245
12462000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1247
1248 * linklist.c (listnode_add_after): Add node right after the
1249 listnode pointer.
1250
12512000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1252
1253 * smux.h: Pass struct variable to WriteMethod.
1254
12552000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
1256
1257 * if.c (if_lookup_address): When looking up interface with IP
1258 address, Sometimes multiple interfaces will match. Now PtP
1259 interfaces prevail in such a case which seem the right thing to
1260 do: There will probably also be host routes which usually prevail
1261 over network routes.
1262
12632000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1264
1265 * smux.c (smux_trap): SMUX trap implementation.
1266
12672000-11-19 Akihiro Mizutani <mizutani@dml.com>
1268
1269 * plist.c: Add automatic conversion function of an old rule.
1270 ex.) 10.0.0.0/8 ge 8 -> 10.0.0.0/8 le 32
1271
12722000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
1273
1274 * zclient.c (zebra_interface_add_read): Read hardware address when
1275 hw_addr_len is greater than 0.
1276
12772000-11-15 Akihiro Mizutani <mizutani@dml.com>
1278
1279 * plist.c: The rule of "len <= ge-value <= le-value"
1280 was changed to "len < ge-value <= le-value".
1281
12822000-11-09 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1283
1284 * memory.[ch]: Added #define and functions for ospf6d.
1285
1286 * log.[ch]: some platform says that the data of used va_list
1287 is undefined. Changed to hold list of va_list for each
1288 vsnprintf.
1289
12902000-11-07 Rick Payne <rickp@rossfell.co.uk>
1291
1292 * memory.h (enum): Add MTYPE_COMMUNITY_REGEXP.
1293
12942000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1295
1296 * command.c (config_exit): Fix bug of missing break after case
1297 BGP_VPNV4_NODE.
1298
12992000-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1300
1301 * vector.c (vector_unset): Check i is not nevative.
1302
13032000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
1304
1305 * smux.c (smux_sock): Set terminating '\0'. Check address family.
1306
1307 * vty.c (vty_serv_sock_addrinfo): Set terminating '\0'. Use
1308 gai_strerror. Check address family.
1309
13102000-10-23 Jochen Friedrich <jochen@scram.de>
1311
1312 * smux.c: Use linklist rather than vector.
1313 (smux_getnext): A SMUX subagent has to behave as if it manages the
1314 whole SNMP MIB tree itself. It's the duty of the master agent to
1315 collect the best answer and return it to the manager. See RFC 1227
1316 chapter 3.1.6 for the glory details :-). ucd-snmp really behaves
1317 bad here as it actually might ask multiple times for the same
1318 GETNEXT request as it throws away the answer when it expects it in
1319 a different subtree and might come back later with the very same
1320 request.
1321
13222000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1323
1324 * command.c (cmd_init): Log related command are only installed for
1325 terminal mode.
1326
13272000-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1328
1329 * Makefile.am (libzebra_a_SOURCES): Remove duplicated buffer.c.
1330
1331 * zebra.h: Remove #warn directive.
1332
13332000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1334
1335 * keychain.c (keychain_init): Register "key chain" command to
1336 KEYCHAIN_NODE and KEYCHAIN_KEY_NODE.
1337
1338 * vty.c (vty_end_config): Fix missing vty_cinfig_unlock for other
1339 CONFIG_NODE.
1340
1341 * command.c (config_end): Likewise.
1342
1343 * keychain.c (keychain_get): Key is sorted by it's identifier
1344 value.
1345
13462000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1347
1348 * linklist.c (list_delete_all_node): Call delete function if it is
1349 defined.
1350
1351 * command.c (cmd_execute_command_strict): Add modification for
1352 vtysh.
1353 (cmd_execute_command_strict): Remove first argument cmdvec because
1354 it is global varibale in command.c.
1355
13562000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1357
1358 * command.c (cmd_init): Install
1359 copy_runningconfig_startupconfig_cmd only in terminal mode.
1360
1361 * linklist.c (list_delete_node): Simplify the function.
1362 (listnode_lookup): Renamed from list_lookup_node.
1363
13642000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1365
1366 * stream.h: Undef stream_read and stream_write without
1367 parenthesis.
1368
1369 * newlist.c: File removed.
1370
1371 * newlist.h: Likewise.
1372
1373 * linklist.c (list_new): Remove list_init(). To allocate new
1374 linked list, please use list_new().
1375 (listnode_add): Remove list_add_node(). To add new node to linked
1376 list, please use listnode_add().
1377 (list_delete_by_val): Revemove fucntion.
1378
13792000-10-16 Nobuaki Tanaka <nobby@po.ntts.co.jp>
1380
1381 * table.c (route_table_free): Reimplement route_table_free().
1382
13832000-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1384
1385 * keychain.c (keychain_get): Register key_delete_func to key
1386 list's delete function. Use linklist.c instead of newlist.c.
1387
13882000-10-04 Akihiro Mizutani <mizutani@dml.com>
1389
1390 * filter.c (access_list_remark): Add access-list's remark command.
1391 (no_access_list): "no access-list 100 permit any" error message
1392 bug is fixed.
1393
13942000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1395
1396 * memory.h (enum): Add MTYPE_SOCKUNION.
1397
13982000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1399
1400 * zebra-0.89 is released.
1401
14022000-10-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1403
1404 * linklist.c (list_add_node_head): Delete unused function.
1405 (list_add_node_tail): Likewise.
1406
14072000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1408
1409 * stream.c (stream_read_unblock): Add new function for unblocking
1410 read.
1411
14122000-09-26 Jochen Friedrich <jochen@nwe.de>
1413
1414 * smux.c (smux_register): Fix bug of can't register more than one
1415 MIB with SMUX.
1416
14172000-09-26 Makoto Otsuka <otsuka@inl.ntts.co.jp>
1418
1419 * vty.c (vty_close): Fix memory leak of sb_buffer.
1420 (vty_new): Likewise.
1421
14222000-09-21 steve@Watt.COM (Steve Watt)
1423
1424 * log.h: Do not declare zlog_priority[0] variable.
1425
14262000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1427
1428 * linklist.h (struct _list ): Add member cmp for compare function.
1429 (struct _list ): Member up is deleted
1430
14312000-09-12 David Lipovkov <dlipovkov@OpticalAccess.com>
1432
1433 * if.c: Include RIP_API header when RIP API is enabled.
1434
14352000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1436
1437 * prefix.c (prefix_free): Siplify prefix_free().
1438
1439 * keychain.c (key_match_for_accept): strncmp check bug is fixed.
1440
14412000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1442
1443 * zebra.h: Merge roken.h into zebra.h.
1444
14452000-09-05 Akihiro Mizutani <mizutani@dml.com>
1446
1447 * routemap.c (route_map_init_vty): Install route-map command to
1448 RMAP_NODE.
1449
14502000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1451
1452 * thread.c (thread_get_id): Remove pthread related garbage.
1453
1454 * command.h (struct host): Likewise.
1455
1456 * zebra.h: Likewise.
1457
14582000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1459
1460 * command.h (node_type ): Add AAA node for authentication.
1461
1462 * vty.c (vty_close): Do not close stdout.
1463
14642000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1465
1466 * vty.c (vty_init_vtysh): Added for vtysh.
1467
1468 * distribute.c (districute_list_prefix_all): Interface independent
1469 filter can be set.
1470 (distribute_list_all): Likewise.
1471 (config_show_distribute): Display current distribute-list status
1472 for "show ip protocols".
1473
14742000-08-18 Akihiro Mizutani <mizutani@dml.com>
1475
1476 * command.c (config_terminal_no_length): no terminal monitor ->
1477 terminal no monitor
1478 (cmd_init): Do not install service_terminal_length_cmd into
1479 ENABLE_NODE.
1480
1481 * vty.c (terminal_no_monitor): no terminal length -> terminal no
1482 length.
1483
14842000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1485
1486 * zebra-0.88 is released.
1487
14882000-08-17 Magnus Ahltorp <ahltorp@nada.kth.se>
1489
1490 * vty.h (struct vty ): Add iac_sb_in_progress and sb_buffer for
1491 better IAC handling.
1492
1493 * vty.c (vty_telnet_option): Change telnet option handling.
1494
14952000-08-15 Gleb Natapov <gleb@nbase.co.il>
1496
1497 * zclient.c (zclient_redistribute_unset): New function added.
1498
14992000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1500
1501 * zclient.c (zebra_interface_add_read): Change ifindex restore
1502 size from two octet to four.
1503 (zebra_interface_state_read): Likewise.
1504 (zebra_interface_address_add_read): Likewise.
1505
15062000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1507
1508 * vty.c (vty_event): Use vector_set_index() instead of
1509 vector_set().
1510
15112000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1512
1513 * zebra.h (ZEBRA_XXX_DISTANCE_DEFAULT): Define Default
1514 Administrative Distance of each protocol.
1515
15162000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1517
1518 * if.h (struct interface ): Add new member bandwidth to struct
1519 interface.
1520
1521 * zclient.c (zebra_interface_add_read): Fetch bandwidth value.
1522 (zebra_interface_state_read): Likewise.
1523
15242000-08-07 Gleb Natapov <gleb@nbase.co.il>
1525
1526 * routemap.c (route_map_event_hook): New hook route_map_event_hook
1527 is added. This hook is called when route-map is changed. The
1528 parameters passed to the hook are 'event' and 'route-map name'
1529
1530 * routemap.h: Add prototype for route_map_event_hook().
1531
15322000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1533
1534 * zclient.c (zebra_ipv4_route): zebra_ipv4_route(),
1535 zebra_ipv4_add(), zebra_ipv4_delete() are removed.
1536
1537 * routemap.c (route_map_empty): Add new function.
1538 (route_map_delete): Use route_map_index_delete() instead of
1539 route_map_index_free().
1540 (route_map_index_free): Function removed.
1541
15422000-08-06 Gleb Natapov <gleb@nbase.co.il>
1543
1544 * routemap.c (route_map_index_delete): Add check for route-map is
1545 empty or not.
1546
15472000-08-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1548
1549 * zclient.c (zebra_ipv4_add): Change socket arguemnt with struct
1550 zclient.
1551
15522000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1553
1554 * zclient.h (struct zebra): Add obuf for output buffer.
1555
1556 * if.c: Remove #ifdef NRL enclosing if_nametoindex() and
1557 if_indextoname().
1558
15592000-08-02 David Lipovkov <davidl@nbase.co.il>
1560
1561 * if.h (IF_PSEUDO_UNSET): IF_PSEUDO related macro added.
1562 (IF_UNKNOWN_SET): IF_UNKNOWN related macro deleted.
1563
1564 * if.c (interface_pseudo): Add "pseudo" command to interface node.
1565 (no_interface_pseudo): Add "no pseudo" command to interface node.
1566
1567 * zclient.c (zebra_interface_add_read): Set pseudo flag when it is
1568 send from zebra.
1569
15702000-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1571
1572 * zebra.h (ZEBRA_IPV4_NEXTHOP_LOOKUP): Add new message.
1573 (ZEBRA_IPV6_NEXTHOP_LOOKUP): Likewise.
1574
1575 * vty.c (vty_serv_un): Use AF_UNIX for backward compatibility.
1576
15772000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * vty.c: Use vector for VTY server thread listing instead of
1580 single value.
1581
15822000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1583
1584 * keychain.c (no_key_chain): "no key chain WORD" command is added.
1585
15862000-07-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1587
1588 * command.c (config_from_file): If command fail in
1589 KEYCHAIN_KEY_NODE, down to KEYCHAIN_NODE.
1590
1591 * vty.h (struct vty ): Add index_sub member.
1592
15932000-07-27 Akihiro Mizutani <mizutani@dml.com>
1594
1595 * if.c: Help strings updates.
1596
15972000-07-11 Akihiro Mizutani <mizutani@dml.com>
1598
1599 * command.c (no_config_enable_password): Add "no enable password"
1600 command.
1601 (config_write_host): Display password string.
1602
1603 * routemap.c (route_map_delete_match): Add support for delete
1604 match without argument.
1605 (route_map_delete_set): Likewise.
1606
16072000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1608
1609 * command.h (node_type ): Change KEYCHAIN_NODE and
1610 KEYCHAIN_KEY_NODE place just before INTERFACE_NODE.
1611
16122000-07-09 Jochen Friedrich <jochen@scram.de>
1613
1614 * smux.c (config_write_smux): Fixes the option to override OID and
1615 password for SMUX.
1616
16172000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1618
1619 * command.h (node_type ): Add SMUX_NODE for SMUX configuration.
1620
16212000-07-09 Toshiaki Takada <takada@zebra.org>
1622
1623 * command.c: Sort descvec command's help.
1624
1625 * vty.c (vty_describe_command): Display '<cr>' at the end of
1626 descriptions.
1627
16282000-07-05 Toshiaki Takada <takada@zebra.org>
1629
1630 * command.c (cmd_ipv6_match), (cmd_ipv6_prefix_match): Fix bug
1631 treatment of double colon.
1632
16332000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1634
1635 * zclient.h: Add zclient_redistribute_default_{set,unset}().
1636
1637 * keychain.c: New file for authentication key management.
1638 * keychain.h: Likewise.
1639
1640 * tcpfilter.c: New file for TCP/UDP base filtering using ipfw or
1641 ipchains.
1642 * tcpfilter.h: Likewise.
1643
1644 * flap.h: New file for route flap dampening.
1645 * flap.c: Likewise.
1646
16472000-07-04 Toshiaki Takada <takada@zebra.org>
1648
1649 * filter.c (struct filter): Add exact flag.
1650 (access_list): Add exact-match command.
1651 (ipv6_access_list): Add exact-match command.
1652
16532000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1654
1655 * zebra.h (ZEBRA_REDISTRIBUTE_DEFAULT_ADD): New message for
1656 request default route.
1657
16582000-07-01 Hideaki YOSHIFUJI ($B5HF#1QL@(B) <yoshfuji@ecei.tohoku.ac.jp>
1659
1660 * smux.c: Add IPv6 smux connection code.
1661
16622000-06-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1663
1664 * vty.c (vty_complete_command): To cooperate readline library,
1665 returned string is newly allocated. So some match function case
1666 need, free of memory.
1667
16682000-06-12 Akihiro Mizutani <mizutani@dml.com>
1669
1670 * distribute.c: Fix help strings.
1671
16722000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1673
1674 * command.c (cmd_complete_command): Add check for vector_slot
1675 (vline, index) is not NULL when calculating lcd.
1676 (cmd_entry_function): First check variable arguemnt to prevent it
1677 from completion.
1678
16792000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1680
1681 * vty.h (struct vty ): Add output_count member for displaying
1682 output route count. Remove arugment arg from output_func because
1683 the value is passed by vty argument. Change output to output_rn.
1684 Add output_clean function pointer member. Add output_type member.
1685
16862000-06-10 Toshiaki Takada <takada@zebra.org>
1687
1688 * command.c (show_startup_config): Add "show startup-config"
1689 command.
1690
16912000-06-06 Akihiro Mizutani <mizutani@dml.com>
1692
1693 * filter.c: Fix help strings.
1694
16952000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1696
1697 * prefix.h (struct prefix_rd): New prefix structure for routing
1698 distinguisher.
1699 (struct prefix): Add padding to every prefix structure.
1700
1701
1702 * routemap.c (route_map_add_match): When completely same match
1703 statement exists, don't duplicate it.
1704
17052000-06-05 Akihiro Mizutani <mizutani@dml.com>
1706
1707 * routemap.c: Change NAME to WORD.
1708
1709 * plist.c: Fix help strings.
1710
17112000-06-02 Akihiro Mizutani <mizutani@dml.com>
1712
1713 * routemap.c: Fix route-map help strings.
1714
17152000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1716
1717 * command.c (cmd_filter_by_completion): Fix CMD_VARARG treatment
1718 to filter other non vararg commands.
1719
1720 * routemap.c (route_map_init_vty): Use install_default() for
1721 install common commands into route-map node..
1722
17232000-06-01 Akihiro Mizutani <mizutani@dml.com>
1724
1725 * command.h (OSPF_STR): Macro added.
1726
17272000-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1728
1729 * command.c (cmd_complete_command): LCD completion must not modify
1730 installed command string.
1731
1732 * plist.c (ipv6_prefix_list): Fix wrong syntax definition. Change
1733 X:X::X:X to X:X::X:X/M.
1734
17352000-05-31 Toshiaki Takada <takada@zebra.org>
1736
1737 * vty.c (show_history): New defun added.
1738
17392000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1740
1741 * command.h (CMD_COMPLETE_LIST_MATCH): New define for completion
1742 list. CMD_COMPLETE_MATCH is used for LCD completion.
1743
1744 * vty.c (vty_complete_command): Matched string's LCD is completed.
1745
1746 * command.c (cmd_lcd): New function for calculate LCD of matched
1747 strings.
1748
17492000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1750
1751 * command.c (install_default): config_write_terminal_cmd,
1752 config_write_file_cmd, config_write_memory_cmd are added to
1753 default node.
1754
1755 * memory.c (memory_init): Divide show memory command into each
1756 sort.
1757
1758 * command.c (cmd_init): config_write_terminal_cmd,
1759 config_write_file_cmd, config_write_memory_cmd are added to
1760 CONFIG_NODE.
1761
1762 * routemap.c (route_map_index_free): New function.
1763 (no_route_map_all): New DEFUN for "no route-map NAME".
1764
1765 * filter.c (no_access_list_all): New DEFUN for delete access-list
1766 with NAME.
1767 (no_ipv6_access_list_all): Likewise.
1768
17692000-05-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1770
1771 * plist.c: Change IPV6_PREFIX to X:X::X:X. When "any" is
1772 specified, user can not use "ge" and "le" statement.
1773
17742000-05-22 Thomas Molkenbur <tmo@datus.datus.com>
1775
1776 * routemap.c (route_map_add_set): Fix bug of next pointer missing.
1777
1778 * table.c (route_table_free): Like wise.
1779
17802000-05-22 Toshiaki Takada <takada@zebra.org>
1781
1782 * vty.c (vty_stop_input): Set history pointer to the latest one.
1783
1784 * vty.c (vty_hist_add): Do not add command line history when input
1785 is as same as previous one.
1786
17872000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1788
1789 * memory.h (enum): Add MTYPE_ECOMMUNITY and MTYPE_ECOMMUNITY_VAL.
1790
17912000-05-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1792
1793 * command.h (node_type ): Add BGP_VPNV4_NODE.
1794
17952000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1796
1797 * vty.c (vtysh_accept): Add cast of struct sockaddr * to bind
1798 argument. Reported by: Vesselin Mladenov <mladenov@netbg.com>.
1799
1800 * filter.c (ipv6_access_list): Add IPv6 prefix example instead of
1801 IPv4 example. Reported by: Love <lha@s3.kth.se>.
1802
1803 * command.c (cmd_complete_command): Make it sure last element of
1804 matchvec is NULL. This fix problem which cause crush in
1805 vty_complete_command(). Reported by: JINMEI Tatuya
1806 <jinmei@isl.rdc.toshiba.co.jp>.
1807
18082000-04-28 Love <lha@s3.kth.se>
1809
1810 * prefix.h (struct prefix): Add padding.
1811
18122000-04-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1813
1814 * command.c (show_version): Update copyright year.
1815
18162000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1817
1818 * routemap.c (route_map_apply): When map is NULL, return deny.
1819
18202000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1821
1822 * filter.c (access_list_apply): When access is NULL, return deny.
1823
1824 * plist.c (prefix_list_apply): When plist is NULL, return deny.
1825
18262000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1827
1828 * command.h (node_type ): Change RDISC_NODE to IRDP_NODE.
1829
18302000-04-18 Toshiaki Takada <takada@zebra.org>
1831
1832 * filter.[ch] (access_list_add_hook), (access_list_delete_hook):
1833 Add argument for hook function to give struct access_list *.
1834
18352000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1836
1837 * plist.c (prefix_list_entry_match): In case of le nor ge is
1838 specified, exact match is performed.
1839 (prefix_list_entry_match): Add any entry matching check.
1840
18412000-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1842
1843 * vty.c (exec_timeout): Separate timeout setting to minutes and
1844 seconds.
1845 (no_exec_timeout): Add "no exec-timeout" command.
1846
1847 * vty.h (VTY_TIMEOUT_DEFAULT): Change default value from 300 to
1848 600.
1849
18502000-03-31 Jochen Friedrich <jochen@scram.de>
1851
1852 * smux.h (SMUX_CLOSE): The SMUX_CLOSE PDU is implicit integer, so
1853 it is a primitive encoding and not constructed.
1854
18552000-03-28 Toshiaki Takada <takada@zebra.org>
1856
1857 * memory.[ch] (enum): Add MTYPE_OSPF_EXTERNAL_INFO.
1858
18592000-03-26 Love <lha@s3.kth.se>
1860
1861 * zclient.c (zclient_read): Add nbytes size check for
1862 ZEBRA_HEADER_SIZE. Check return value of steam_read ().
1863
18642000-03-26 Rick Payne <rickp@rossfell.co.uk>
1865
1866 * routemap.c: Add flexible route-map commands such as on-match
1867 next, on-match goto N.
1868
1869 * routemap.h: Likewise
1870
18712000-03-23 Adrian Bool <aid@u.net.uk>
1872
1873 * command.c (config_log_trap): Add new command "log trap
1874 PRIORITY".
1875
18762000-03-14 Toshiaki Takada <takada@zebra.org>
1877
1878 * memory.c (struct memory_list): Add Link List and Link Node
1879 to view.
1880
1881 * memory.h (enum): Remove MTYPE_OSPF_EXTERNAL_ROUTE.
1882
18832000-01-20 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1884
1885 * str.c (snprintf): Fix bug of calling sprintf instead of
1886 vsprintf.
1887
18882000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1889
1890 * memory.h (enum): Add MTYPE_RIP_PEER.
1891
18922000-01-15 Toshiaki Takada <takada@zebra.org>
1893
1894 * memory.h (enum): Add MTYPE_OSPF_CRYPT_KEY.
1895
18962000-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1897
1898 * command.h (node_type ): Add MASC_NODE for masc.
1899
19002000-01-09 Wang Jianliang <wangjl@soim.net>
1901
1902 * routemap.c (route_map_index_add): When route_map_index is not
1903 empty and insert new item at the head, it can cause core dump.
1904 Fix "if (index == map->head)" to "if (point == map->head).
1905 (route_map_add_set): If there is an old set command, override old
1906 set command with new one.
1907 (route_map_index_delete): Use while() instead of for for() for
1908 logical correctness.
1909
19101999-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1911
1912 * memory.h (enum): Add MTYPE_BGP_STATIC.
1913
19141999-12-23 Alex Zinin <zinin@amt.ru>
1915 * zebra.h, zclient.*: dynamic int up/down message
1916 support
1917
19181999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1919
1920 * thread.c (thread_cancel_event): Add a function for clean up
1921 events.
1922
19231999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1924
1925 * dropline.c: Delete file.
1926 dropline.h: Linewise.
1927
19281999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1929
1930 * filter.c (access_list_filter_delete): Wrong pointer
1931 access->master was pointed out after access is freed. I store
1932 master value at the beginning of the function.
1933
19341999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1935
1936 * vty.c (exec_timeout): Change of VTY timeout affect to current
1937 VTY connection.
1938 (vty_accept): Instead of immediate exit() return -1.
1939
19401999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1941
1942 * vty.c (vty_configure_lock): Configuration lock function added.
1943 Only one VTY can use CONFI_NODE at the same time.
1944
1945 * log.c: Delete zvlog_* functions. Now zlog_* does the same
1946 thing.
1947
1948 * log.c (log_init): Function removed.
1949 (log_close): Likewise.
1950 (log_flush): Likewise.
1951 (log_open): Likewise.
1952
1953 * vty.c (terminal_monitor): Add new command.
1954 (no_terminal_monitor): Likewise.
1955
1956 * log.c (old_log): Function removed.
1957 (old_log2): Likewise.
1958 (old_log_warn): Likewise.
1959
19601999-12-04 Toshiaki Takada <takada@zebra.org>
1961
1962 * command.c (cmd_ipv6_match): New function added.
1963 (cmd_ipv6_prefix_match): Likewise.
1964
19651999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1966
1967 * command.c (cmd_ipv6_match):
1968
1969 * table.c: Delete #ifdef HAVE_MBGPV4.
1970
1971 * prefix.h (struct prefix): Add safi member.
1972 (struct prefix_ipv4): Likewise.
1973 (struct prefix_ipv6): Likewise.
1974
19751999-12-04 Rumen Svobodnikov <rumen@linux.tu-varna.acad.bg>
1976
1977 * memory.c (struct mstat): Revert to support MEMORY_LOG.
1978
19791999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1980
1981 * version.h: Bump up to 0.81c for testing new kernel codes.
1982
19831999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1984
1985 * thread.h (struct thread): Pthread support is disabled all
1986 platform.
1987
19881999-11-21 Michael Handler <handler@sub-rosa.com>
1989
1990 * Include <limits.h> and <strings.h> under SUNOS_5.
1991
19921999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1993
1994 * sockunion.c (in6addr_cmp): Enclosed by #define HAVE_IPV6
19951999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1996
1997 * command.h (node_type ): Add BGP_IPV4_NODE and BGP_IPV6_NODE.
1998
19991999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2000
2001 * command.c (disable): Add `disable' command.
2002
20031999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2004
2005 * plist.c (vty_prefix_list_install): Add any check.
2006
20071999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2008
2009 * command.h (node_type ): Add DUMP_NODE.
2010
20111999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2012
2013 * smux.c: Change default SMUX oid to compatible with gated.
2014
20151999-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2016
2017 * if_rmap.c: New file added.
2018
2019 * if_rmap.h: New file added.
2020
20211999-10-29 Alex Zinin <zinin@amt.ru>
2022
2023 * hash.c: add hash_free() function
2024
20251999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2026
2027 * hash.c (hash_clean): Add clean function.
2028
2029 * plist.c (prefix_list_reset): Add reset function.
2030
2031 * filter.c (access_list_reset): Add reset function.
2032
20331999-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2034
2035 * client.c: Merged with zclient.c.
2036 * client.h: Merged with zclient.h.
2037
20381999-10-15 Jordan Mendelson <jordy@wserv.com>
2039
2040 * md5.c: Imported from GNU C Library.
2041 * md5-gnu.h: Likewise.
2042
20431999-10-15 Jochen Friedrich <jochen@scram.de>
2044
2045 * smux.c (smux_getresp_send): SMUX_GETRSP codes improvement.
2046
20471999-10-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2048
2049 * smux.h: New file added.
2050
2051 * snmp.c: Rename to smux.c.
2052
20531999-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2054
2055 * command.c (cmd_execute_command_strict): Filter ambious commands.
2056 (cmd_filter_by_string): Change to return enum match_type.
2057
20581999-10-01 Toshiaki Takada <takada@zebra.org>
2059
2060 * vty.c (vty_describe_fold): New function which does VTY
2061 description line fold.
2062 * vty.c (vty_describe_command): Set description column.
2063
20641999-09-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2065
2066 * plist.c (prefix_list_init_ipv4): VTY user interface is improved.
2067
20681999-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2069
2070 * command.c (cmd_filter_by_string): Fix bug of CMD_IPV4 and
2071 CMD_IPV4_PREFIX check. Both return type must be exact_match.
2072
20731999-09-24 Toshiaki Takada <takada@zebra.org>
2074
2075 * command.c (cmd_filter_by_completion),
2076 (is_cmd_ambiguous): Check IPv4 address, IPv4 prefix and range
2077 parameter matches range.
2078
20791999-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2080
2081 * routemap.c (route_map_apply): Returm RM_DENYMATCH when no match
2082 is performed.
2083
20841999-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2085
2086 * vty.c (vty_read): Control-C stop VTY_MORE mode.
2087
20881999-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
2089
2090 * command.h (node_type ): Add ACCESS_IPV6_NODE and
2091 PREFIX_IPV6_NODE.
2092
2093 * distribute.h: New file added.
2094
2095 * command.h (node_type ): Delete DISTRIBUTE_NODE.
2096
20971999-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2098
2099 * vty.c (vty_terminate_all): New function added for reload
2100 support.
2101
21021999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2103
2104 * memory.h (enum): Add new type MTYPE_OSPF_EXTERNAL_ROUTE.
2105
21061999-08-31 Janos Farkas <chexum@shadow.banki.hu>
2107
2108 * vty.c (vty_read): Handle also 0x7f (alt-backspace), just like
2109 esc-ctrl-h (delete word backwards).
2110
21111999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2112
2113 * if.h: Add if_nametoindex for NRL.
2114
21151999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2116
2117 * if.c (if_create): New function.
2118
21191999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2120
2121 * snmp.c: New file.
2122
21231999-08-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2124
2125 * stream.c (stream_put): stream_memcpy () is changed to stream_put
2126 (). stream_get () is added.
2127
21281999-08-18 Toshiaki Takada <takada@zebra.org>
2129
2130 * memory.h (enum): Add MTYPE_OSPF_LSA_DATA.
2131
21321999-08-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2133
2134 * table.c (route_table_finish): add function frees table.
2135
21361999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2137
2138 * memory.h (enum): Add MTYPE_RTADV_PREFIX.
2139
21401999-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2141
2142 * if.h (struct interface ): hw_address, hw_address_len added.
2143
21441999-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2145
2146 * if.h (struct interface ): Change structure member if_data to
2147 info, index to ifindex.
2148
21491999-08-08 Rick Payne <rickp@rossfell.co.uk>
2150
2151 * routemap.c: Multi protocol route-map modification.
2152
2153 * routemap.c (route_map_apply): Route match process bug is fixed.
2154
21551999-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2156
2157 * thread.c (thread_fetch): When signal comes, goto retry point.
2158
21591999-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2160
2161 * Makefile.am: Add sockopt.c and sockopt.h
2162 * sockopt.c: New file.
2163 * sockopt.h: New file.
2164
21651999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2166
2167 * version.h (ZEBRA_VERSION): Release zebra-0.75
2168
21691999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2170
2171 * memory.h (enum): Add MTYPE_RIPNG_AGGREGATE.
2172
21731999-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2174
2175 * sockunion.h: Add sockunion_getpeername ().
2176
21771999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
2178
2179 * version.h: Release zebra-0.74
2180
21811999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2182
2183 * command.h (struct host): Delete lines from struct host. Add
2184 lines to struct vty.
2185
2186 * command.c: Delete `lines LINES'. Terminal display line settings
2187 should be done by `terminal length' command.
2188
21891999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2190
2191 * memory.h (enum): MTYPE_OSPF_PATH are added.
2192
21931999-07-22 Toshiaki Takada <takada@zebra.org>
2194
2195 * memory.h (enum): MTYPE_OSPF_NEXTHOP is added.
2196
21971999-07-21 Toshiaki Takada <takada@zebra.org>
2198
2199 * linklist.c (list_add_node_prev), (list_add_node_next),
2200 (list_add_list): New function added.
2201
2202 * table.c (route_table_free): New function added.
2203
22041999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
2205
2206 * plist.c (config_write_prefix): Set write flag when configuration
2207 is written.
2208
22091999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2210
2211 * prefix.c : prefix_cmp() added. change apply_mask() to
2212 apply_mask_ipv4(), and new apply_mask() added.
2213
22141999-07-14 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2215
2216 * prefix.c (prefix2str): append prefixlen.
2217
22181999-07-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2219
2220 * command.c (config_terminal): Change "config terminal" to
2221 "configure terminal". Reported by Georg Hitsch
2222 <georg@atnet.at>.
2223 (config_terminal_length): `terminal length <0-512>' is added. At
2224 this moment this command is only usef for vty interface.
2225 Suggested by Georg Hitsch <georg@atnet.at>.
2226
22271999-07-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2228
2229 * routemap.c (rulecmp): Add wrapper function of strcmp.
2230
22311999-07-08 Rick Payne <rickp@rossfell.co.uk>
2232
2233 * sockunion.c (inet_aton): Fix bug of inet_aton.
2234
22351999-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2236
2237 * version.h (ZEBRA_VERSION): Start zebra-0.73
2238
22391999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2240
2241 * version.h: Bump up to 0.72.
2242
22431999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2244
2245 * command.c (install_default): New function for install default
2246 commands to the node.
2247
2248 * memory.h (enum): MTYPE_NEXTHOP is added.
2249
22501999-07-01 <kunihiro@zebra.org>
2251
2252 * command.c (no_banner_motd): `no banner motd' command added.
2253
22541999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2255
2256 * regex.c: Update to glibc-2.1.1's posix/regex.c
2257
2258 * regex-gnu.h: Update to glibc-2.1.1's posix/regex.h
2259
2260 * prefix.h (IPV4_ADDR_SAME): Macro added.
2261 (IPV6_ADDR_SAME): Likewise.
2262
22631999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2264
2265 * memory.h (enum): Add MTYPE_OSPF_VERTEX
2266
2267 * version.h: Bump up to 0.71.
2268
2269 * vty.c (vty_serv_sock_addrinfo): Use addrinfo function to bind
2270 VTY socket when IPv6 is enabled.
2271
22721999-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
2273
2274 * vty.c (vty_serv_sock): Change vty_serv_sock determine which
2275 address family to bind.
2276
2277 * command.c: Add quit command.
2278
22791999-06-26 NOGUCHI kay <kay@dti.ad.jp>
2280
2281 * vty.c (vty_read_config): Fix bug of configuration file path
2282 detection.
2283
22841999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2285
2286 * version.h: Bump up to 0.70.
2287
22881999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2289
2290 * buffer.h (GETL): Remove GETL macro.
2291
2292 * version.h: Bump up to 0.69.
2293
22941999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2295
2296 * if.c (connected_add): Commented out connected_log.
2297
22981999-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2299
2300 * command.h (struct cmd_element ): strvec and descvec is combined
2301 into newstrvec.
2302
2303 * command.c (desc_make): Function removed.
2304 (desc_next): Function removed.
2305
2306 * command.h (struct cmd_element ): docvec is removed from struct
2307 cmd_element.
2308
23091999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
2310
2311 * command.c (cmd_execute_command): Remove command NULL check.
2312
2313 * command.h (struct cmd_element ): Add newstrvec entry to struct
2314 cmd_element.
2315 (DEFUN2): DEFUN2 macro is removed. DEFUN is extended to support
2316 (a|b|c) statement.
2317 (DESC): DESC macro is removed.
2318
2319 * vty.c (vty_complete_command): When return value is
2320 CMD_ERR_NO_MATCH, don't display error message.
2321
23221999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2323
2324 * table.c (route_next_until): New function.
2325
2326 * version.h: Bump up to 0.68.
2327
23281999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2329
2330 * vty.c (vty_close): Free vty->buf when vty is closed.
2331
2332 * memory.h (enum): Add MTYPE_COMMUNITY_ENTRY and
2333 MTYPE_COMMUNITY_LIST.
2334
2335 * vty.h (struct vty ): Change buf from static length buffer to
2336 variable length buffer.
2337
2338 * vty.c (vty_ensure): New function added.
2339
23401999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2341
2342 * command.h (node_type ): Add COMMUNITY_LIST_NODE.
2343
2344 * command.c (config_enable_password): Freeing host.enable bug is
2345 fixed.
2346 (config_enable_password): Add argc count check.
2347
23481999-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2349
2350 * version.h: Bump up to 0.67.
2351
23521999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2353
2354 * command.c (zencrypt): New function for encrypt password.
2355
2356 * command.h (struct host): Add password_encrypt and
2357 enable_encrypt.
2358
23591999-05-30 Jochen Friedrich <jochen@scram.de>
2360
2361 * command.h (struct host): New member encrypt is added for
2362 encrypted password.
2363
23641999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2365
2366 * vty.c: Remove all_digit_check function. Instead use all_digit.
2367
2368 * prefix.c (all_digit): New function for checking string is made
2369 from digit character.
2370
23711999-05-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2372
2373 * Makefile.am (libzebra_a_SOURCES): Add zclient.c.
2374 (noinst_HEADERS): Add zclient.h
2375
2376 * zclient.[ch]: New file for zebra client routine.
2377
2378 * memory.h (enum): Add MTYPE_ZEBRA.
2379
23801999-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2381
2382 * version.h (ZEBRA_VERSION): Update to 0.66.
2383
23841999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2385
2386 * buffer.h (GETC,GETW): Macro deleted.
2387
23881999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2389
2390 * prefix.h (IPV4_NET0, IPV4_NET127): Macro added.
2391
23921999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2393
2394 * vty.c (service_advanced_vty): New command added.
2395 (no_service_advanced_vty): Likewise.
2396
23971999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2398
2399 * vty.c (vty_auth): If advanced flag is set and enable password is
2400 not set, directly login to the ENABLE_NODE. This feature is
2401 originally designed and implemented by Stephen R. van den Berg
2402 <srb@cuci.nl>.
2403
2404 * command.h (host): Add advanced flag to struct host for advanced
2405 vty terminal interface.
2406
2407 * version.h (ZEBRA_VERSION): Update to 0.65 for next beta release.
2408
24091999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2410
2411 * command.h (node_type ): Add TABLE_NODE.
2412
2413 * vty.c (vty_telnet_option): Check host.lines value.
2414
2415 * command.c (config_lines): DEFUN for 'lines LINES' command.
2416
2417 * zebra.h: Include <sys/utsname.h> for uname().
2418 (RT_TABLE_MAIN): Defined as 0 if OS does not support multiple
2419 routing table.
2420
2421 * vty.c (vty_auth): Directly login to the ENABLE_NODE when enable
2422 password is not set.
2423 (vty_prompt): Get machine's hostname when hostname is not set.
2424
24251999-05-11 James Willard <james@whispering.org>
2426
2427 * command.c (config_exit): Close connection when `exit' command is
2428 executed at ENABLE_NODE.
2429
24301999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2431
2432 * vty.c (vty_stop_input): `C-c' key change node to ENABLE_NODE.
2433
2434 * command.c (cmd_execute_command_strict): Matched command size
2435 check added.
2436 (cmd_make_desc_line): New function for DEFUN2.
2437
2438 * command.h (struct cmd_element ): Add descsize.
2439
24401999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2441
2442 * command.h (struct cmd_element ): Remame descvec to docvec.
2443 (struct cmd_element ): Add descvec for new description system.
2444
2445 * command.c (desc_make): Check cmd->descvec.
2446
24471999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2448
2449 * memory.h (enum): Add MTYPE_CLUSTER, MTYPE_CLUSTER_VAL.
2450
24511999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2452
2453 * version.h (ZEBRA_VERSION): Bump up to 0.64 for next beta
2454 release.
2455
24561999-05-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2457
2458 * linklist.c (list_delete_all_node): bug fix.
2459 previous code loses current position when node
2460 is deleted.
2461
24621999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2463
2464 * command.h (DESC): Macro added.
2465 (struct cmd_element2): Delete struct cmd_element2.
2466
2467 * plist.c (prefix_list): Sequential number option check is added.
2468
24691999-05-02 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2470
2471 * log.c (zvlog_{debug,info,notice,warn,err}): have been
2472 added. now we can log both console and file, but still
2473 need some fix about config write.
2474
24751999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2476
2477 * log.c (zvlog_debug): Fix yasu's change.
2478
24791999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2480
2481 * plist.c (prefix_list): Fix typo.
2482
24831999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2484
2485 * Set version to 0.63 for first beta package.
2486
24871999-04-27 Carlos Barcenilla <barce@frlp.utn.edu.ar>
2488
2489 * prefix.c (str2prefix_ipv4): Fix prefix length check.
2490 (str2prefix_ipv6): Likewise.
2491
24921999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2493
2494 * memory.h (enum): Add MTPYE_PREFIX_LIST and
2495 MTYPE_PREFIX_LIST_ENTRY.
2496
2497 * command.h (node_type ): Add PREFIX_NODE.
2498
24991999-04-25 Carlos Barcenilla <barce@frlp.utn.edu.ar>
2500
2501 * command.c: ALIAS (config_write_memory_cmd) and ALIAS
2502 (copy_runningconfig_startupconfig_cmd) is added.
2503
2504 * table.c (route_node_lookup): Unused match variable deletion.
2505
25061999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2507
2508 * Makefile.am (libzebra_a_SOURCES): plist.c added.
2509 (noinst_HEADERS): plist.h added.
2510
2511 * plist.c, plist.h: New file added.
2512
2513 * memory.h (enum): Rename MTYPE_AS_PASN to MTYPE_AS_STR.
2514 * memory.c: Likewise.
2515
25161999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2517
2518 * command.c (show_version): `show version' command added.
2519
25201999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2521
2522 * prefix.c (str2prefix_ipv6): Prefix length overflow check.
2523
25241999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2525
2526 * prefix.c (str2prefix_ipv4): Prefix length overflow check.
2527
25281999-04-19 Alex Bligh <amb@gxn.net>
2529
2530 * prefix.c (sockunion2hostprefix): Function added.
2531 (sockunion2prefix): Address family was not set. Now it is set.
2532
2533 * vty.c: VTY access-class command is added.
2534
25351999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2536
2537 * memory.c: Change xmalloc to zmalloc. xcalloc, xrealloc, xfree,
2538 xstrdup are likewise.
2539
25401999-04-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2541
2542 * thread.c: Add thread_execute for other routing daemon.
2543 OSPF tasks need to be generated by "sheduled" and "executed".
2544
25451999-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2546
2547 * buffer.c: Rewrite buffer_write and buffer_flush related
2548 functions for fixing bugs. Reason of the problem and fix is
2549 suggested by Alex Bligh <amb@gxn.net>.
2550
25511999-04-12 Alex Bligh <amb@gxn.net>
2552
2553 * command.c (cmd_entry_function_descr): Added for variable
2554 argument help display.
2555
25561999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2557
2558 * regex.c, regex-gnu.h: Imported from GNU sed-3.02 distribution.
2559
25601999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2561
2562 * stream.c: stream_fifo_free bug is fixed.
2563
25641999-03-19 Toshiaki Takada <takada@zebra.org>
2565
2566 * stream.c (stream_strncpy): Added for getting any length bytes
2567 from stream.
2568
25691999-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2570
2571 * version.h (ZEBRA_BUG_ADDRESS): New macro added.
2572
25731999-03-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2574
2575 * buffer.c (buffer_flush_window): If ep is same as buffer's size
2576 length and lp is overrun one octet.
2577
25781999-03-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2579
2580 * vty.h: add VTY's timeout function.
2581
25821999-03-05 <kunihiro@zebra.org>
2583
2584 * command.h (node_type ): Add OSPF6_node.
2585
25861999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2587
2588 * zebra.h: Check HAVE_SYS_SELECT_H when include <sys/select.h>
2589
25901999-03-03 Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
2591
2592 * zebra.h: Include <net/if_var.h> if it exists.
2593
25941999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2595
2596 * getopt.[ch],getopt1.c: Sync with glibc-2.1.
2597
2598 * log.c (zlog): Tempolary ZLOG_STDOUT feature added.
2599
2600 * command.h: Include vector.h and vty.h
2601
26021999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2603
2604 * routemap.h (struct route_map_rule_cmd): Add prefix arguemnt.
2605
2606 * routemap.c (route_map_apply_index): Add prefix argument.
2607 (route_map_apply): Likewise.
2608
2609 * memory.h (enum): Add MTYPE_ROUTE_MAP_COMPILED.
2610
2611 * stream.c: Add stream_fifo related functions.
2612
26131999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2614
2615 * daemon.c: Return integer value. File descriptor close is added.
2616
2617 * memory.h (enum): add MTYPE_OSPF_LSA.
2618
26191999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2620
2621 * rsh.c: Remove empty file.
2622
26231999-02-22 <kunihiro@zebra.org>
2624
2625 * routemap.c: Add add/delete hook to route_map_master.
2626
26271999-02-19 Peter Galbavy <Peter.Galbavy@knowledge.com>
2628
2629 * str.[ch] added to supply wrappers for snprintf(), strlcat() and
2630 strlcpy on system without these.
2631
26321999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2633
2634 * syslog support added
2635
26361999-02-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2637
2638 * filter.c (access_list_add_hook): added for hook function management.
2639 * filter.c (access_list_delete_hook): Likewise.
2640
26411999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2642
2643 * stream.c: New file.
2644 * stream.h: New file.
2645 * Divide stream related fucntions from buffer.[ch] into stream.[ch].
2646
26471999-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2648
2649 * memory.h (enum): add MTYPE_STREAM, MTYPE_STREAM_DATA
2650
2651 * buffer.c (stream_new): Set MTYPE_STREAM to XMALLOC argument.
2652
26531998-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2654
2655 * routemap.c: route_map_index_delete() added.
2656
26571998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2658
2659 * buffer.c (buffer_empty): check cp instead of sp.
2660
26611998-12-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2662
2663 * radix.[ch]: Deleted.
2664
26651998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2666
2667 * buffer.c: Prototype fixes.
2668 * prefix.c: Likewise.
2669 * sockunion.c: Likewise.
2670 * sockunion.h: Likewise.
2671
26721998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2673
2674 * vty.c (vty_read): DELETE key works as vty_delete_char.
2675
26761998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2677
2678 * log.c (time_print): chane %y to %Y.
2679
26801998-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2681
2682 * distribute.c: new file.
2683
26841998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2685
2686 * filter.c: Remove all of struct prefix_{ipv4,ipv6} and add
2687 complete support of IPv6 access list.
2688
2689 * command.c (config_write_element): function delete.
2690 (config_write_host): function add. password and enable password
2691 isn't printed to vty interface.
2692
26931998-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2694
2695 * filter.c: Change prefix_ipv4 to prefix and add support of
2696 prefix_ipv6 filtering.
2697
26981998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2699
2700 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6 inet6-apps
2701 header includes.
2702
27031998-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2704
2705 * log.c (log_flush): fix function name typo.
2706
27071998-12-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2708
2709 * memory.h: OSPF memory type is added.
2710
27111998-11-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2712
2713 * command.c (sort_node): add sort_node() for pretty printing of
2714 command on vty interface.
2715 (config_password): delete the restriction of charaster of password
2716 string.
2717
27181998-09-05 Kunihiro Ishiguro <kunihiro@debian.zebra.org>
2719
2720 * prefix.c (prefix_ipv4_any): add prefix_ipv4_any().
2721
27221998-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2723
2724 * network.h: New file.
2725
27261998-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2727
2728 * vty.c (vty_will_echo): function name change from vty_off_echo.
2729
27301998-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2731
2732 * buffer.h: add PUTC,PUTW,PUTL macros.
2733
27341998-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2735
2736 * route.[ch]: renamed to prefix.[ch]
2737
27381998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2739
2740 * prefix_in, prefix_in6 is replaced by prefix_ipv4, prefix_ipv6.
2741
2742 * Makefile.am: @INCLUDES@ is deleted from INCLUDES.
2743
27441998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2745
2746 * host.[ch]: merged with command.[ch]
2747
27481998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2749
2750 * Makefile.am (libzebra_a_SOURCES): add route.c to libzebra_a_SOURCES.
2751
27521998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2753
2754 * route.c (str2prefix): str2prefix () is gone.
2755
27561998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2757
2758 * vty.c (vty_read_config): change CONDIR to SYSCONFDIR.
2759
2760 * .cvsignore: add file.
2761
2762 * memory.c (xerror): add arguent `type' and `size'.
2763
2764 * socket.c: deleted.
2765
27661998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2767
2768 * vector.c: malloc,free,realloc -> XMALLOC,XFREE,XREALLOC.
2769 * linklist.c: same as above.
2770
27711998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2772
2773 * filter.[ch]: added.
2774
27751998-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2776
2777 * vty.c (config_who): return CMD_SUCCESS
2778
27791998-04-01 Jochen Friedrich <jochen@scram.de>
2780
2781 * table.c (route_dump_node): route_dump_node is IPv6 specific
2782 function so move #ifdef to the end of route_dump_node ().
2783
27841998-03-05 "Hannes R. Boehm" <hannes@boehm.org>
2785
2786 * if.c: DEFUN(interface_desc) added.
2787
27881998-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2789
2790 * if.c: separated from ripd/rip_interface.c
2791
27921998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2793
2794 * thread.[ch] : added.
2795
27961998-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2797
2798 * vty.c (vty_delete_char): fix size bug.
2799 (vty_backward_pure_word): function added.
2800 (vty_read): ESC + 'f' perform vty_forward_word.
2801 (vty_read): ESC + 'b' perform vty_backward_word.
2802
28031998-02-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2804
2805 * radix.c (radix_lookup_rt): add mask check.
2806 (radix_delete_duproute): add mask check.
2807
28081998-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2809
2810 * command.c (config_write_file): fix vty -> file_vty.
2811
28121998-02-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2813
2814 * command.c (cmd_filter_ambiguous): add complex type treatment.
2815
28161998-02-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2817
2818 * vty.c (vty_time_print): function added.
2819 (vty_complete_command): now [...] element isn't shown by completion.
2820
28211998-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2822
2823 * command.c : change from cmd_install_node() to install_node().
2824
28251998-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2826
2827 * route.[ch]: struct rt{} is replaced by struct prefix{}.
2828
28291998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2830
2831 * command.c (cmd_execute_command): check command length.
2832
2833 * timer.c (zebra_timer_set): add zebra_timer_set.
2834
28351998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2836
2837 * command.h (node_type ): add ZEBRA_NODE.
2838
2839 * command.c (config_exit): add RIP_NODE.
2840 (config_write_file): add RIP_NODE.
2841
28421998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2843
2844 * print_version.c (print_version): Now Copyright is 1996-1998.
2845
2846 * sockunion.c (sockunion_log): moved from ../zebra/route.c
2847
28481997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2849
2850 * host.c (config_logfile): change 'log PATH' to 'logfile PATH'.
2851
2852 * sockunion.c (sockunion_sameprefix): add same prefix for
2853 sockunion.
2854
28551997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2856
2857 * radix.[ch] : are moved from ../zebra directroy.
2858
2859 * command.c (config_from_file): if command execution failed down
2860 level to CONFIG_NODE.
2861
2862 * host.c: config_log function which enable 'log FILENAME' command.
2863
28641997-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2865
2866 * vty.c: add vty_transpose_chars (). Now you can use '^T' to
2867 transpose character.
2868
2869 * command.c: cmd_cmdsize add, this is useful to check incomplete
2870 command.
2871
28721997-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2873
2874 * fd.h: add family for address family
2875
28761997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2877
2878 * command.o
2879 * vty.o
2880 * host.o is moved from ../zebra
2881
28821997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2883
2884 * make library directory.
2885