blob: db1f560fab98439c4188b311c8c46ce92f4f9f16 [file] [log] [blame]
ajsd1c51d72004-11-26 14:14:30 +000012004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
2
ajs48d6c692004-11-26 20:52:59 +00003 * log.c, log.h, memory.c: Change function name from zlog_backtrace_safe
4 to the more self-explanatory zlog_backtrace_sigsafe.
5
62004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
7
ajs5b85fac2004-11-26 19:36:42 +00008 * debug.[ch]: Remove unused files.
9 * Makefile.am: Remove references to debug.c and debug.h
10
112004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
12
ajs063ee522004-11-26 18:11:14 +000013 * log.c: (zlog_backtrace) New function to log a backtrace.
14 (zlog_backtrace_safe) Log a backtrace in an async-signal-safe way.
15 Unfortunately, this function does not support syslog logging yet.
16 (zlog_signal) Move backtrace code into separate function
17 zlog_backtrace_safe.
18 (_zlog_assert_failed) Call zlog_backtrace before aborting.
19 * log.h: Declare new functions zlog_backtrace and zlog_backtrace_safe.
20 * memory.c: (zerror) Call zlog_backtrace before aborting.
21
222004-11-26 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
23
ajsd1c51d72004-11-26 14:14:30 +000024 * Makefile.am: Need to add zassert.h to pkginclude_HEADERS.
25
ajse5879ca2004-11-25 16:07:53 +0000262004-11-25 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
27
ajs4cf0d0d2004-11-25 17:14:34 +000028 * zebra.h: If not C99 and there's no va_copy macro and there is
29 a __va_copy macro, define va_copy as __va_copy.
30
312004-11-25 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
32
ajse5879ca2004-11-25 16:07:53 +000033 * pid_output.c: (pid_output_lock) Fix 2 bugs: when locking, should
34 set l_whence to SEEK_SET, not SEEK_END. And after writing new
35 pid to file, must ftruncate to eliminate any extraneous bytes left
36 over from the last time a pid was written.
37
ajscee3df12004-11-24 17:14:49 +0000382004-11-24 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
39
40 * zassert.h: New header file to declare a quagga-specific assert macro.
41 * log.c: (_zlog_assert_failed) New function called when assert fails
42 to log the error and abort.
43 * zebra.h: Include "zassert.h" instead of <assert.h>.
44 * regex.c: Include "zassert.h" instead of <assert.h>.
45
ajsd246bd92004-11-23 17:35:08 +0000462004-11-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
47
ajs59a06a92004-11-23 18:19:14 +000048 * sigevent.c: (signal_init) Set up some default signal handlers
49 so that processes will issue an error message before terminating
50 or dumping core.
51 (trap_default_signals) New function to set up signal handlers
52 for various signals that may kill the process.
53 (exit_handler) Call zlog_signal, then _exit.
54 (core_handler) Call zlog_signal, then abort.
55 * log.h: Declare new function zlog_signal.
56 * log.c: (zlog_signal) New function to log information about
57 a received signal before the process dies. Try to log a
58 backtrace also.
59 (quagga_signal_handler,signal_set) Should be static.
60
612004-11-23 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
62
ajsd246bd92004-11-23 17:35:08 +000063 * log.c: (vzlog) Take a single va_list argument and use va_copy
64 as necessary for multiple traversals.
65 (zlog) Pass only one va_list to vzlog.
66 (zlog_*,plog_*) Use a macro for boilerplate code; pass only one
67 va_list to vzlog.
68 (zlog_set_file) Remove unused 2nd argument (flags).
69 (zlog_save_cwd,zlog_get_cwd,zlog_free_cwd) Remove unused functions.
70 * log.h: Remove ZLOG_*_INDEX defines (no longer used).
71 Remove unused 2nd argument from zlog_set_file prototype.
72 Fix prototype for zlog_rotate.
73 * command.c: (config_log_file) Remove unused 2nd arg to zlog_set_file.
74 * vty.c: (vty_out) Fix stdarg usage to perform multiple traversals
75 properly.
76 (vty_log) Must use va_copy for multiple traversals of va_list arg.
77
ajsca359762004-11-19 23:40:16 +0000782004-11-19 David Young <dyoung@pobox.com>
79
80 * log.c: (safe_strerror) New function: safe wrapper for strerror.
81
ajsff29bb32004-11-19 18:29:22 +0000822004-11-19 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
83
84 * sockopt.c: (setsockopt_so_recvbuf) Stop error message from being
85 printed every time.
86
ajsf858e492004-11-16 14:25:30 +0000872004-11-16 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
88
89 * memory.h: Fix prototype for memory_init().
90 * memory.c: Declare many functions and data structures static instead
91 of global. Fix prototype for memory_init().
92
gdt69e13252004-11-15 18:51:15 +0000932004-11-15 Greg Troxel <gdt@fnord.ir.bbn.com>
94
95 * sockopt.h: Avoid CMSG_ALIGN, and declare that sizes are without
96 alignment (users should use CMSG_SPACE).
97
98 * zebra.h: Rationalize CMSG_SPACE compatibility defines. Warn if
99 asumming 4-byte alignment, since this isn't safe.
100
ajs7fa25ff2004-11-15 16:12:32 +00001012004-11-15 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
102
103 * memory.c: (zerror) Use zlog_err instead of fprintf to stderr.
104 Instead of exiting, log currenty memory usage and then abort.
105 (log_memstats) New function to log memory statistics, called by
106 zerror.
107 (show_memory_all) Loop over new mlists array instead of calling
108 show_memory_vty separately for each memory_list.
109
paulb86718e2004-11-08 17:34:07 +00001102004-11-08 Paul Jakma <paul@dishone.st>
paulb35e5b42004-11-07 22:27:27 +0000111
paul2265d202004-11-08 15:43:21 +0000112 * buffer.c: Add missing include of log.h.
113 (buffer_flush_available) written is compared against
114 mostly against unsigned types, only for the writev do we need
115 signed compare, so declare it as size_t and cast it to ssize_t
116 just for the error compare when we've called writev.
117 * buffer.h: Add comment that buffer data sizes really should be
118 size_t.
119
1202004-11-07 Paul Jakma <paul@dishone.st>
121
122 * version.h.in: add autoconf configure_input output var
paulb35e5b42004-11-07 22:27:27 +0000123
ajs49ff6d92004-11-04 19:26:16 +00001242004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
125
ajs5a646652004-11-05 01:25:55 +0000126 * vty.h: Remove fields in struct vty that were related to VTY_CONTINUE
127 capabilities (that were used only in bgpd/bgp_route.c and are now
128 removed). Also remove some other fields that were not being
129 used at all.
130 * vty.c: (vty_execute) Do not test for obsolete status values VTY_START
131 and VTY_CONTINUE.
132 (vty_read) Remove calls to vty->output_func since that was part
133 of the VTY_CONTINUE infrastructure that has been removed.
134 (vty_flush) Remove code to support VTY_START and VTY_CONTINUE.
135 (vty_close) Remove code to cancel vty->t_output thread, since that
136 thread was never actually used.
137
1382004-11-04 Andrew J. Schorr <ajschorr@alumni.princeton.edu>
139
ajs49ff6d92004-11-04 19:26:16 +0000140 * vty.c: Vtysh connections to daemons should use buffering.
141 (vty_out) Remove exception for vty_shell_serv, just use buffer_write.
142 (vty_new) Increase output buffer size to 4096 rounded up to a
143 multiple of pagesize.
144 (vtysh_read) After command has been executed and all output buffered,
145 call buffer_flush_available and schedule further writes if the
146 buffers are not yet empty.
147 (vtysh_write) New function to flush output to vtysh when the socket
148 is writeable.
149 (vty_event) Added new VTYSH_WRITE event for flushing buffers to vtysh
150 clients. Also, should save read thread in vty->t_read so the
151 thread can be cancelled in vty_close.
152 * buffer.h: In struct buffer_data, remove unused "parent" field.
153 Convert "unsigned char *data" to "unsigned char data[0]" to save
154 a malloc. Declare new function buffer_flush_available that works
155 with non-blocking sockets.
156 * buffer.c: (buffer_data_new) Use a single malloc now that data is
157 a variable-size array at end of structure.
158 (buffer_data_free) Just a single free now that data is part of the
159 structure.
160 (buffer_write) Simplify the logic to make behavior more transparent.
161 (buffer_flush) Decrease b->length as data is written out.
162 (buffer_flush_vty_all) Decrease b->length as buffers are freed.
163 (buffer_flush_vty) Decrease b->length as data is written out.
164 (buffer_flush_available) New function to flush non-blocking sockets.
165
paule064d6d2004-11-01 08:59:21 +00001662004-11-01 Paul Jakma <paul@dishone.st>
167
168 * sockopt.c: (setsockopt_pktinfo) remove, its unused.
169
paul75e15fe2004-10-31 02:13:09 +00001702004-10-31 Paul Jakma <paul@dishone.st>
171
172 * vty.c: As per Andrew's suggestions..
173 (vty_serv_un) remove flags.
174 (vtysh_accept) close socket if we cant set NONBLOCK. Add flags.
paul66cbbce2004-10-31 16:15:33 +0000175 * keychain.c: Convert some more strtoul users to VTY_GET_INTEGER.
paul9d11a192004-10-31 16:19:24 +0000176 * memory.h: Add MTYPE_THREAD_FUNCNAME and MTYPE_THREAD_STATS
177 * thread.c: Update stats and funcname alloc/free to use previous
paul039b9572004-10-31 16:43:17 +0000178 specific memory type defines. Use XCALLOC and sizeof the type,
179 not the pointer.
paul70e149e2004-10-31 16:29:50 +0000180 * smux.c: fix int to size_t compile warnings
paul75e15fe2004-10-31 02:13:09 +0000181
pauldccfb192004-10-29 08:29:36 +00001822004-10-29 Paul Jakma <paul@dishone.st>
183
184 * vty.c: Move setting of sock to O_NONBLOCK from vty_serv_un
185 to vtysh_accept, where sock is the actual fd we wanted to set to
186 O_NONBLOCK, ie the /connected/ vtysh unix socket.
187
hasso508ec912004-10-23 14:26:49 +00001882004-10-23 Hasso Tepper <hasso at quagga.net>
189
190 * zclient.c: Unbreak reading interface update message. Might fix
191 blocker bugzilla #109.
192
paul23b9c612004-10-22 11:51:57 +00001932004-10-22 Paul Jakma <paul@dishone.st>
paul7d9c6e52004-10-22 10:54:39 +0000194
195 * sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not
paul23b9c612004-10-22 11:51:57 +0000196 -1.
197 (setsockopt_pktinfo) unexported
198 * sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway
199 define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have
paul4ccb2c42004-10-22 22:52:33 +0000200 neither IP_RECVIF nor IP_PKTINFO (eg openbsd), thanks to Rivo
201 Nurges for highlighting problem and fix.
paul4927cf02004-10-22 16:55:10 +0000202 Fix elif that should be an else.
paul406d6712004-10-22 12:27:44 +0000203 * command.h: Cleanup the defines a bit, add helper defines and
204 collapse all defines to use those. Add an attribute field to
205 cmd_element to support, eg hidden or deprecated commands, add
206 defun defines for such. All that's left to do is add logic
207 to command.c to check these attributes... ;)
paulaf0d97e2004-10-22 23:24:43 +0000208 * zebra.h: reserve ZEBRA_ROUTE_HSLS
paul7d9c6e52004-10-22 10:54:39 +0000209
hasso6590f2c2004-10-19 20:40:08 +00002102004-10-19 Hasso Tepper <hasso at quagga.net>
211
212 * version.h.in: Define copyright string QUAGGA_COPYRIGHT.
213 * print_version.c: Remove. print_version () function moved to
214 command.[c|h].
215 * command.c: Use QUAGGA_COPYRIGHT.
216 * Makefile.am: Remove useless version.c and print_version.c files.
217
hasso3fb9cd62004-10-19 19:44:43 +00002182004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
219
220 * zclient.c: (zebra_interface_address_read) If the destination address
221 is encoded as all zeroes, load it as a NULL pointer.
222 * if.h: Add comment describing struct connected destination field
223 and indicating that it may be NULL. Define macros
224 CONNECTED_DEST_HOST and CONNECTED_POINTOPOINT_HOST to help
225 with PtP logic (distinguish between host and subnet addressing).
226 * if.c: (if_lookup_address) Fix PtP logic to handle subnet addressing
227 properly,
228 (connected_lookup_address) ditto.
229 (connected_add_by_prefix) Handle case where destination is NULL,
230 * prefix.[c|h]: New functions ipv4_network_addr and
231 ipv4_broadcast_addr.
232
hassoddd85ed2004-10-13 08:18:07 +00002332004-10-13 Hasso Tepper <hasso at quagga.net>
234
235 * command.c: Make CMD_ERR_NOTHING_TODO nonfatal if reading
236 configuration from file. Fixes critical bugzilla #113.
hassoc75105a2004-10-13 10:33:26 +0000237 * smux.c, smux.h: Remove all defaults to initialize smux connection to
238 snmpd by default even if not configured to do so. "smux peer OID
239 <password>" initializes now connection and "no smux peer" terminates
240 it.
hassoddd85ed2004-10-13 08:18:07 +0000241
paul42d49862004-10-13 05:22:18 +00002422004-10-13 Paul Jakma <paul@dishone.st>
243
244 * (global) more const'ification.
245 * sockunion.c: (sockunion_su2str) buffer should be sized
246 SU_ADDRSTRLEN.
247 (sockunion_log) do not return stack variables, strdup buf before
248 return.
249 * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied
250 values against ULONG_MAX is daft, when caller probably has passed
251 a type that can not hold ULONG_MAX. use a temporary long instead.
252 Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make
253 VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
254
hassoa1494112004-10-11 12:53:17 +00002552004-10-11 Hasso Tepper <hasso at quagga.net>
256
257 * command.h: Sync DEFUNSH with other macros.
258 * sockunion.c, sockunion.h: More const strings.
259
paul9076fbd2004-10-11 09:40:58 +00002602004-10-11 Paul Jakma <paul@dishone.st>
261
262 * thread.c: (funcname_thread_add_timer)
263 (funcname_thread_add_timer_msec) Fix mistakes from last change.
264 Pointed out by Liu Xin in [quagga-dev 1609].
paulc9eca012004-10-11 11:28:44 +0000265 * if.h: mtu's should be unsigned.
266 * routemap.{c,h}: const char updates
267 * smux.{c,h}: ditto
paul9076fbd2004-10-11 09:40:58 +0000268
paul9035efa2004-10-10 11:56:56 +00002692004-10-10 Paul Jakma <paul@dishone.st>
paul47ca2952004-10-10 08:03:18 +0000270
271 * version.h.in: (pid_output*) add const qualifier.
paul9035efa2004-10-10 11:56:56 +0000272 * command.h: Change DEFUN func to take const char *[] rather
273 than char **, to begin process of fixing compile warnings in lib/.
274 Nearly all other changes in this commit follow from this change.
275 * buffer.{c,h}: (buffer_write) pointer-arithmetic is gccism, take
276 const void * and cast an automatic const char *p to it.
277 (buffer_putstr) add const
278 * command.c: (zencrypt) const qualifier
279 (cmd_execute_command_real) ditto
280 (cmd_execute_command_strict) ditto
281 (config_log_file) ditto.
282 Fix leak of getcwd() returned string.
283 * memory.{c,h}: Add MTYPE_DISTRIBUTE_IFNAME for struct dist ifname.
284 * distribute.{c,h}: Update with const qualifier.
285 (distribute_free) use MTYPE_DISTRIBUTE_IFNAME
286 (distribute_lookup) Cast to char *, note that it's ok.
287 (distribute_hash_alloc) use MTYPE_DISTRIBUTE_IFNAME.
288 (distribute_get) Cast to char *, note that it's ok.
289 * filter.c: Update with const qualifier.
290 * if.{c,h}: ditto.
291 * if_rmap.{c,h}: ditto.
292 (if_rmap_lookup) Cast to char *, note that it's ok.
293 (if_rmap_get) ditto.
294 * log.{c,h}: Update with const qualifier.
295 * plist.{c,h}: ditto.
296 * routemap.{c,h}: ditto.
297 * smux.{c,h}: ditto. Fix some signed/unsigned comparisons.
298 * sockopt.c: (getsockopt_cmsg_data) add return for error case.
299 * vty.c: Update with const qualifier.
300
hasso27a43a82004-10-08 06:29:12 +00003012004-10-08 Hasso Tepper <hasso at quagga.net>
302
303 * routemap.c, routemap.h: Make some string arguments const.
304
paul5973ee72004-10-08 01:36:54 +00003052004-10-05 Paul Jakma <paul@dishone.st>
306
307 * version.h.in: print_version declaration is here, not in automake
308 generated version.h.
309
hassoea8e9d92004-10-07 21:32:14 +00003102004-10-08 Hasso Tepper <hasso at quagga.net>
311
312 * command.c, command.h: Make argument of cmd_make_strvec function
313 const.
314 * command.c: Make hostname commands usable in vtysh again.
315
hasso6ad96ea2004-10-07 19:33:46 +00003162004-10-07 Hasso Tepper <hasso at quagga.net>
317
318 * command.c, pid_output.c, print_version.c, vty.c, vty.h: Make more
319 strings const.
320
hasso8c328f12004-10-05 21:01:23 +00003212004-10-05 Hasso Tepper <hasso at quagga.net>
322
323 * *.[c|h]: Make many strings cons and a lot of int -> unsigned int
324 changes to fix warnings.
325
paul96e27c92004-10-05 14:33:43 +00003262004-10-05 Paul Jakma <paul@dishone.st>
327
328 * sockopt.{c,h}: add sockopt_iphdrincl_swab_{htosys,systoh},
329 functions to change byte order between system IP_HDRINCL order
330 and host order.
paul98c91ac2004-10-05 14:57:50 +0000331 * thread.c: (funcname_thread_add_timer_timeval) new function, add
332 timer at specified timeval.
333 (funcname_thread_add_timer) use funcname_thread_add_timer_timeval.
334 (funcname_thread_add_timer_msec) ditto
paul96e27c92004-10-05 14:33:43 +0000335
hassob04c6992004-10-04 19:10:31 +00003362004-10-04 Hasso Tepper <hasso at quagga.net>
337
338 * memory.c, memory.h: Make char * argument of strdup functions const.
339 * prefix.c, prefix.h: Make many arguments const. Reorder stuff in
340 header.
341 * log.h: Make log message const in struct message.
342 * log.c: Fix some indenting.
343 * network.c, network.h: Make second argument of writen() const.
344
hassoe7168df2004-10-03 20:11:32 +00003452004-10-03 Hasso Tepper <hasso at quagga.net>
346
347 * command.h: Introduce SERVICE_NODE for "service <...>" commands.
348 * command.c: Don't initialize commands that don't make sense if vtysh
349 is used.
350 * vty.c: Make VTY_NODE appear in vtysh.
351
hasso18a6dce2004-10-03 18:18:34 +00003522004-10-03 James R. Leu <jleu at mindspring.com>
353
354 * zclient.c, zclient.h: zclient functions for router id handling.
355 * zebra.h: New message types for router id handling.
356
paul9172ee02004-09-27 12:46:37 +00003572004-09-27 Paul Jakma <paul@dishone.st>
358
359 * zebra.h: Add WANT_OSPF_WRITE_FRAGMENT for ospfd
360 to try to fragment oversized packets. Enabled only for Linux.
361 Add HAVE_IP_HDRINCL_BSD_ORDER to define struct ip byte order,
362 to consolidate various ad-hoc platform defines for same thing.
363
hassoe473b032004-09-26 16:08:11 +00003642004-09-26 Hasso Tepper <hasso at quagga.net>
365
366 * vty.c, sockopt.c: Fix compiler warnings.
367
hasso52dc7ee2004-09-23 19:18:23 +00003682004-09-23 Hasso Tepper <hasso at quagga.net>
369
370 * linklist.h: Remove list and listnode typedefs.
371 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
372
paul0b3acf42004-09-17 08:39:08 +00003732004-09-17 Paul Jakma <paul@dishone.st>
374
paulb89e60c2004-09-21 15:43:13 +0000375 * sockopt.c: Add missing bracket
376
3772004-09-17 Paul Jakma <paul@dishone.st>
378
paul0b3acf42004-09-17 08:39:08 +0000379 * sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd.
380
paul33394762004-09-13 11:27:57 +00003812004-09-13 Paul Jakma <paul@dishone.st>
382
383 * command.c: Update the copyright string in the default motd.
384
gdt630e4802004-08-31 17:28:41 +00003852004-08-31 David Wiggins <dwiggins@bbn.com>
386
387 * hash.c (hash_iterate): Save next pointer before calling
388 procedure, so that iteration works even if the called procedure
389 deletes the hash backet.
390
391 * linklist.h (listtail): new macro, not yet used.
392
hasso34553cc2004-08-27 13:56:39 +00003932004-08-27 Hasso Tepper <hasso at quagga.net>
394
395 * command.c: Install "terminal length" commands only if vty is used.
396 Vtysh will handle it itself.
397
gdtafa43b22004-08-26 13:12:41 +00003982004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
399
400 * sockopt.h: Define method-independent macro for callers of
401 get_ifindex to use for cmsg length.
402
paule6822762004-08-19 04:13:29 +00004032004-08-19 Paul Jakma <paul@dishone.st>
404
paulefba6ce2004-08-25 13:47:16 +0000405 * zebra.h: add MAX and MIN defines (eg for ospf6d)
406
4072004-08-19 Paul Jakma <paul@dishone.st>
408
paule6822762004-08-19 04:13:29 +0000409 * sockopt.c: include sockopt.h
410 rename some of the _pktinfo_ functions to _ifindex, where that is
411 their purpose.
412 (getsockopt_ipv6_pktinfo_ifindex) renamed to
413 getsockopt_ipv6_ifindex.
414 (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex
415 (setsockopt_pktinfo) update with previous and add comment re
416 AF_INET portability.
417 (setsockopt_ifindex) generic ifindex function ala
418 setsockopt_pktinfo.
419 (getsockopt_ipv4_pktinfo_ifindex) renamed to
420 getsockopt_ipv4_ifindex.
421 (getsockopt_ipv4_ifindex) rejiggling to reduce repeated
422 ifdef/elses. pktinfo case forgot to set ifindex.
423 (getsockopt_pktinfo_ifindex) renamed to
424 getsockopt_ifindex. update some calls to renamed functions.
425 * sockopt.h: Update renamed exported functions
426 Rename the CMSG_SIZE macros to IFINDEX.
427 Guard IPv4 PKTINFO in a conditional define.
428
paulc0618de2004-08-18 21:52:58 +00004292004-08-18 Paul Jakma <paul@dishone.st>
430
431 * vty.c: (vty_serv_un) set unix vty socket to nonblocking
432 to prevent inadvertent blocking of daemons by use of
433 vtysh. TODO: disentangle manual paging from the buffer_write
434 path so that unix vty can use this path too and be reliable.
435
gdt33f92322004-07-23 16:14:32 +00004362004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
437
438 * sockopt.c (getsockopt_ipv4_pktinfo_ifindex): Make this compile
439 on NetBSD, and add comments to make it less confusing. Change the
440 sense of the SUNOS_5 test to make parallel structure between the
441 variables and the code.
442
paul4f7baa02004-07-23 15:11:07 +00004432004-07-23 Paul Jakma <paul@dishone.st>
444
445 * sockopt.h: Add SOPT_SIZE_CMSG_PKTINFO{_IPV{4,6}} define, for
446 sizeof pktinfo as appropriate, to be used when allocating msg
447 buffers. export setsockopt_pktinfo() and
448 getsockopt_pktinfo_ifindex()
449 * sockopt.c: (setsockopt_pktinfo_ifindex) new function to portably
450 set received ifindex sock option.
451 (getsockopt_pktinfo_ifindex) portably retrieve ifindex.
452 (getsockopt_cmsg_data) retrieve indicated control info from
453 message header.
454 (getsockopt_ipv6_pktinfo_ifindex) ipv6 version of above.
455 (setsockopt_ipv4_pktinfo) v4 version
456 (setsockopt_pktinfo) the exported version
457 (getsockopt_ipv4_pktinfo_ifindex) v4 specific version
458 (getsockopt_pktinfo_ifindex) the exported version
459
paul05c447d2004-07-22 19:14:27 +00004602004-07-14 Paul Jakma <paul@dishone.st>
461
462 * sigevent.c: (quagga_signal_handler) add a global caught flag, set
463 the flags to a constant rather increment to be kinder.
464 (quagga_sigevent_process) new function, to do core of what
465 quagga_signal_timer did. dont block signals at all as sig->caught
466 is volatile sig_atomic_t and should be safe to access from signal
467 and normal contexts. The signal blocking is unneeded paranoia, but
468 is left intact under an ifdef, should some platform require it.
469 Check global caught flag before iterating through array.
470 (quagga_signal_timer) nearly everything moved to
471 quagga_sigevent_process. Left in under ifdef, in case some
472 platform could use a regular timer check for signals.
473 * sigevent.h: quagga_sigevent_process declaration.
474 * thread.c: (thread_fetch) check for signals at beginning of
475 scheduler loop, check for signals if select returns EINTR.
476
gdtb7797132004-07-13 13:47:25 +00004772004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>
478
479 * sigevent.c: Don't block SIGTRAP and SIGKILL. Blocking SIGTRAP
480 confuses gdb, at least on NetBSD 2.0_BETA, where the block
481 succeeds.
482
paul5510e832004-07-09 14:00:01 +00004832004-07-09 Paul Jakma <paul@dishone.st>
484
485 * Merge Kunihiro's 'show route-map' change and add
486 compatibility aliases for route-map continue
paulb9790b32004-07-09 14:05:47 +0000487 * jhash.{c,h}: New files. Bob Jenkins' public domain hashing
488 function, as implemented in linux kernel by David Miller.
paul5510e832004-07-09 14:00:01 +0000489
paulb06c14f2004-07-09 12:24:42 +00004902004-07-09 Juris Kalnins <juris@mt.lv>
491
492 * if.c: (if_cmp_func) fix for interface names where name is same,
493 but one has no number, eg "devtyp" and "devtyp0".
494
gdt87efd642004-06-30 17:36:11 +00004952004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
496
497 * Makefile.am: Make libzebra shared.
498
paul138ce752004-06-21 10:35:59 +00004992004-06-21 Paul Jakma <paul@dishone.st>
500
501 * ChangeLog: fix my last update config.h -> zebra.h ;)
502 * zebra.h: Fix gcc check.
503
paul02ff83c2004-06-11 11:27:03 +00005042004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
505
506 * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast
507 to u_char. (ipv6_access_list_remark_cmd) ditto.
508 if.c: ditto
509 * network.c: (readn/writen) pointer arg should be type u_char.
510 * plist.c: needs to include stream.h, not declare stream functions
511 internally.
512 (various) Add static qualifier to internal functions.
513 (prefix_list_type_str) extraneous breaks in switch statement.
514 (ip_prefix_list_description_cmd) buffer_putstr doesnt need cast
515 * stream.h: depends on plist.h and export stream_put_prefix
516 * vty.c: (vty_<telnet option build functions>) should use
517 unsigned char, telnet options are 0 -> 255.
518 * zclient.c: various u_char<->char type cleanups.
519 * zebra.h: Having to define CMSG_* can apply to more than just
520 BSDI_NRL.
521
paul51a87982004-06-09 10:36:05 +00005222004-06-09 Paul Jakma <paul@dishone.st>
523
paul138ce752004-06-21 10:35:59 +0000524 * zebra.h: __attribute__ is a gcc'ism
paul51a87982004-06-09 10:36:05 +0000525
paul5228ad22004-06-04 17:58:18 +00005262004-06-04 Paul Jakma <paul@dishone.st>
527
528 * type mismatch fixes
529
hasso6708fa32004-05-18 18:46:54 +00005302004-05-18 Hasso Tepper <hasso@estpak.ee>
531
532 * pqueue.[c|h]: Added as part of ospf6d merge from Zebra repository.
533
paul0a589352004-05-08 11:48:26 +00005342004-05-08 Paul Jakma <paul@dishone.st>
535
536 * zclient.c (zapi_ipv4_route) Follow Sowmini's lead and describe
537 message format.
538
5392004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
540
541 * zclient.c: (zapi_ipv4_add) collapsed into zapi_ipv4_route
542 (zapi_ipv4_delete) ditto.
543 (zapi_ipv4_route) add/delete a route by way of cmd arg.
544 (zapi_ipv6_add) collapsed into zapi_ipv6_route.
545 (zapi_ipv6_delete) ditto.
546 (zapi_ipv6_route) add/delete a route by way of cmd arg.
547 (zebra_interface_address_delete_read) collapsed into
548 zebra_interface_address_read.
549 (zebra_interface_address_delete_read) ditto.
550 (zebra_interface_address_read) read address add/delete messages
551 by way of type argument. Describe command message format.
552 (zebra_interface_add_read) Unconditionally read new ifmtu6 field.
553 Describe command message format.
554 (zebra_interface_state_read) Unconditionally read new ifmtu6 field.
555 (zclient_redistribute_set) Collapsed into zclient_redistribute
556 (zclient_redistribute_unset) ditto
557 (zclient_redistribute) set/unset redistribution.
558 (zclient_redistribute_default_set) Collapsed into
559 zclient_redistribute_default.
560 (zclient_redistribute_default_unset) ditto.
561 (zclient_redistribute_default) Redistribute default set/unset.
562 * zclient.h: delete zapi_ipv{4,6}_add, zapi_ipv{4,6}_delete. Add
563 zapi_ipv{4,6}_route. delete zclient_redistribute_set/unset. Add
564 zclient_redistribute. Ditto for
565 zclient_redistribute_default_{set/unset}.
566
paul4a7aac12004-05-08 05:00:31 +00005672004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
568
569 * if.h: Add mtu6 field to struct interface, IPv6 MTU may differ
570 from IPv4, and Solaris treats the MTU's differently.
571 Add connected_add_by_prefix, for use by later patch.
572 * if.c: (connected_add_by_prefix) Add prefix to connected list.
573 (if_flag_dump) Solaris: Dump IFF_IPv4/6 flag
574 (if_dump) Dump mtu6 flag, for HAVE_IPV6.
paul22528292004-05-08 05:10:38 +0000575 * command.c: (sockunion_getsockname) use socklen_t for len.
576 (sockunion_getpeername) ditto.
paul0a589352004-05-08 11:48:26 +0000577
paul31fcdd32004-04-21 11:00:43 +00005782004-04-21 Boris Kovalenko <boris@tagnet.ru>
579
580 * daemon.c: (daemon) fix check for error return from setsid
581
paulc49b3062004-01-19 21:23:37 +00005822004-01-19 Paul Jakma <paul@dishone.st>
583
584 * sigevent.{c,h}: New files, implement event handled signals.
585 see signal_init() in sigevent.h.
586
jardinc32e1b52003-12-23 09:06:51 +00005872003-12-23 Vincent Jardin <jardin@6wind.com>
588
589 * {command.c, memory.c, vty.c, zebra.h}: Add isisd support
590
gdt3dbf9962003-12-22 20:18:18 +00005912003-12-22 Greg Troxel <gdt@fnord.ir.bbn.com>
592
593 * vty.c (vty_use_backup_config): Don't free filenames before using
594 them for unlink.
595
paul54aba542003-08-21 20:28:24 +00005962003-08-20 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
597
598 * command.c: Fix <cr> display problem for command line
599 description
600
paule9af5c72003-05-24 11:54:31 +00006012003-05-24 Anil Madhavapeddy
602
603 * (sockunion.c): Incorrect bounds specified in sockunion_log()
604
paul445f1432003-05-16 19:00:31 +00006052003-05-08 Sergiy Vyshnevetskiy <serg @ vostok.net>
606
607 * vty.c: -A option
608
6092003-04-19 Hasso Tepper <hasso@estpak.ee>
610
611 * rip_routemap.c: sync daemon's route-map commands to have same
612 syntax
613
paul718e3742002-12-13 20:15:29 +00006142002-09-28 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
615
616 * vty.c (vty_flush): One line more on vty.
617
6182002-09-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
619
620 * vector.c (vector_lookup): Add new function.
621
6222002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
623
624 * thread.c (timeval_adjust): Fix unconditional crush due to
625 FreeBSD's select() system call timeval value check.
626
6272002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
628
629 * zebra-0.93 released.
630
6312002-06-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
632
633 * if.c (ifc_pointopoint): Add ifc_pointopoint() accoding to Frank
634 van Maarseveen's suggestion.
635
6362002-06-18 Kunihiro Ishiguro <kunihiro@zebra.org>
637
638 * command.c: Change bcopy() to memcpy().
639
6402001-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
641
642 * command.c (config_password): Fix host.password clear bug.
643 Reported by Wang Jian <lark@linux.net.cn>.
644
6452001-08-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
646
647 * thread.c (thread_should_yield): New function to check thread
648 should yeild it's execution to other thread. Suggested by: Rick
649 Payne <rickp@ayrnetworks.com>
650
6512001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
652
653 * thread.c (thread_timer_cmp): Rewrite function.
654
655 * hash.c: Add hash_get(). Change hash_pull() to hash_release().
656
6572001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
658
659 * zebra-0.92a released.
660
6612001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
662
663 * zebra-0.92 released.
664
6652001-08-12 Akihiro Mizutani <mizutani@dml.com>
666
667 * prefix.c (netmask_str2prefix_str): Convert "1.1.0.0 255.255.0.0"
668 string to "1.1.0.0/16".
669
6702001-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
671
672 * filter.c (access_list_lookup): access_list_lookup's first
673 argument is changed from address family to AFI.
674
675 * plist.c: (prefix_list_lookup): Likewise.
676
6772001-07-27 Akihiro Mizutani <mizutani@dml.com>
678
679 * plist.c: ge and le display order is changed. Old compatible
680 rule (len <= ge-value <= le-value) is removed.
681
6822001-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
683
684 * prefix.h: Temporary fix for alignment of prefix problem.
685
6862001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
687
688 * prefix.h (struct prefix): Remove safi and padding field.
689 (struct prefix_ipv4): Likewise.
690 (struct prefix_ipv6): Likewise.
691 (struct prefix_ls): Likewise.
692 (struct prefix_rd): Likewise.
693
694 * command.h (enum node_type): Preparation for BGP new config.
695
696 * vty.c (vty_end_config): Likewise.
697
6982001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
699
700 * routemap.c (route_map_rule_delete): Call func_free when
701 route-map rule is deleted.
702
7032001-06-14 "Akihiro Mizutani" <mizutani@dml.com>
704
705 * routemap.c (route_map_index_lookup): Prevent to use deny and
706 permit for same route-map sequence.
707
7082001-04-12 Kunihiro Ishiguro <kunihiro@zebra.org>
709
710 * vty.c (vty_read_config): Fix warning.
711
7122001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
713
714 * command.c (IPV6_PREFIX_STR): Add '.' and '%' for IPv6 address
715 strings.
716
7172001-03-07 Kunihiro Ishiguro <kunihiro@zebra.org>
718
719 * zebra.h (_XPG4_2): Define _XPG4_2 and __EXTENSIONS__ for
720 CMSG_FIRSTHDR.
721
7222001-03-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
723
724 * zebra.h (struct in_pktinfo): structure in_pktinfo declaration.
725
7262001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
727
728 * memory.c (memory_list_lib): Add MTYPE_NEXTHOP for "show memory
729 lib" member.
730
7312001-02-13 Matthew Grant <grantma@anathoth.gen.nz>
732
733 * vty.c (vty_read_config): Revert check of integrate_default when
734 VTYSH is defined.
735
7362001-02-13 Kunihiro Ishiguro <kunihiro@zebra.org>
737
738 * vty.c (vty_read_config): Do not check integrate_default. That
739 should be used only by vtysh.
740
7412001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
742
743 * vty.c (vty_serv_un): Set umask 0077.
744 (vty_read_config): Stat for vtysh Zebra.conf, if found startup and
745 wait for boot configuration.
746
747 * if.c (if_lookup_address): Make it smart implementation.
748
749 * sockopt.c (setsockopt_multicast_ipv4): Set up a multicast socket
750 options for IPv4 This is here so that people only have to do their
751 OS multicast mess in one place rather than all through zebra,
752 ospfd, and ripd .
753
7542001-02-04 Akihiro Mizutani <mizutani@dml.com>
755
756 * plist.c (vty_prefix_list_install): Even when argument is
757 invalid, new memory is allocated. Now memory allocation is done
758 after argument check.
759
7602001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
761
762 * zebra-0.91 is released.
763
7642001-01-31 Akihiro Mizutani <mizutani@dml.com>
765
766 * vty.c (vty_login): Add vty login command.
767
7682001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
769
770 * vty.c (vty_reset): Close accept socket.
771
7722001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
773
774 * memory.h (enum): MTYPE_ATTR_TRANSIT is added for unknown transit
775 attribute.
776
7772001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
778
779 * zclient.c (zebra_interface_address_add_read): Fetch interface
780 address flag.
781 (zebra_interface_address_delete_read): Likewise.
782
7832001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
784
785 * table.c (route_node_match_ipv4): Utility function for IPv4
786 address lookup.
787 (route_node_match_ipv6): Utility function for IPv4 address lookup.
788
7892001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
790
791 * if.c: Delete RIP_API part until new implementation comes out.
792
7932001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
794
795 * hash.h (struct Hash): Rename alloc to count. Change type to
796 unsigned long.
797
798 * stream.c (stream_getc_from): New function.
799 (stream_getw_from): Likewise.
800
801 * zebra.h (ZEBRA_FLAG_STATIC): Add new flag for persistent route.
802
8032001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
804
805 * flap.c: File is removed.
806
807 * flap.c: Likewise.
808
809 * roken.h: Likewise.
810
811 * buffer.c (buffer_new): Remove type option to buffer_new().
812
8132001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
814
815 * zclient.c (zapi_ipv4_delete): Remove OLD_RIB part.
816
8172001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
818
819 * zebra-0.90 is released.
820
821 * command.c: Update Copyright year.
822
8232001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
824
825 * if.c (if_create): Register connected_free() function for
826 deletion.
827 (if_delete): Free connected information when the interface is
828 deleted.
829 (if_lookup_by_index): Fix argument type from int to unsigned int.
830 (connected_add): Keep list in order if old info found, essential
831 for repeatable operation in some daemons.
832
8332001-01-09 endo@suri.co.jp (Masahiko Endo)
834
835 * vty.c (vty_flush): When vty->statis is VTY_CLOSE do not add vty
836 read thread.
837
8382001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
839
840 * filter.c (access_list_delete): Access-list name is not freed.
841
842 * plist.c (prefix_list_delete): Prefix-list name is not freed.
843
8442000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
845
846 * zclient.c (zclient_start): Change to use UNIX domain
847 socket for zebra communication.
848
849 * vector.c (vector_init): vector_alloc and vector_data_alloc is
850 removed. All memory allocation count should be maintained by
851 XMALLOC and XFREE macros.
852
8532000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
854
855 * zebra.h (ZEBRA_NEXTHOP_IFINDEX): Define ZEBRA_NEXTHOP_* values.
856
8572000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
858
859 * zebra.h (ZEBRA_ERR_RTEXIST): Make zebra error code to negative
860 value.
861
8622000-12-25 "Wataru Uno" <wataru@po.ntts.co.jp>
863
864 * vty.c (vtysh_read): Don't allocate new buffer because buffer is
865 allocated in vty_new ().
866
8672000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
868
869 * memory.h (enum): Add MTYPE_AS_FILTER_STR.
870
871 * command.c (config_write_terminal): Display "end" at the end of
872 configuration.
873
874 * plist.c (vty_prefix_list_install): Use AF_INET to determine
875 lenum length.
876
8772000-12-13 "Wataru Uno" <wataru@po.ntts.co.jp>
878
879 * buffer.c (buffer_flush_vty): If IOV_MAX defined in the System,
880 then all lines write by IOV_MAX.
881
8822000-12-12 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
883
884 * command.c (config_write_file): Robust method for writing
885 configuration file and recover from backing up config file.
886
8872000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
888
889 * smux.c (smux_connect): More fail check.
890 (smux_trap): When SMUX connection is not established, do nothing.
891
8922000-11-28 Gleb Natapov <gleb@nbase.co.il>
893
894 * thread.c (thread_fetch): Execut event list first. Old event
895 list is renamed to ready list. With this change, event thread is
896 executed before any other thread.
897
898 * thread.h (struct thread_master): Add ready list.
899
9002000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
901
902 * linklist.c (listnode_add_after): Add node right after the
903 listnode pointer.
904
9052000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
906
907 * smux.h: Pass struct variable to WriteMethod.
908
9092000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
910
911 * if.c (if_lookup_address): When looking up interface with IP
912 address, Sometimes multiple interfaces will match. Now PtP
913 interfaces prevail in such a case which seem the right thing to
914 do: There will probably also be host routes which usually prevail
915 over network routes.
916
9172000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
918
919 * smux.c (smux_trap): SMUX trap implementation.
920
9212000-11-19 Akihiro Mizutani <mizutani@dml.com>
922
923 * plist.c: Add automatic conversion function of an old rule.
924 ex.) 10.0.0.0/8 ge 8 -> 10.0.0.0/8 le 32
925
9262000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
927
928 * zclient.c (zebra_interface_add_read): Read hardware address when
929 hw_addr_len is greater than 0.
930
9312000-11-15 Akihiro Mizutani <mizutani@dml.com>
932
933 * plist.c: The rule of "len <= ge-value <= le-value"
934 was changed to "len < ge-value <= le-value".
935
9362000-11-09 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
937
938 * memory.[ch]: Added #define and functions for ospf6d.
939
940 * log.[ch]: some platform says that the data of used va_list
941 is undefined. Changed to hold list of va_list for each
942 vsnprintf.
943
9442000-11-07 Rick Payne <rickp@rossfell.co.uk>
945
946 * memory.h (enum): Add MTYPE_COMMUNITY_REGEXP.
947
9482000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
949
950 * command.c (config_exit): Fix bug of missing break after case
951 BGP_VPNV4_NODE.
952
9532000-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
954
955 * vector.c (vector_unset): Check i is not nevative.
956
9572000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
958
959 * smux.c (smux_sock): Set terminating '\0'. Check address family.
960
961 * vty.c (vty_serv_sock_addrinfo): Set terminating '\0'. Use
962 gai_strerror. Check address family.
963
9642000-10-23 Jochen Friedrich <jochen@scram.de>
965
966 * smux.c: Use linklist rather than vector.
967 (smux_getnext): A SMUX subagent has to behave as if it manages the
968 whole SNMP MIB tree itself. It's the duty of the master agent to
969 collect the best answer and return it to the manager. See RFC 1227
970 chapter 3.1.6 for the glory details :-). ucd-snmp really behaves
971 bad here as it actually might ask multiple times for the same
972 GETNEXT request as it throws away the answer when it expects it in
973 a different subtree and might come back later with the very same
974 request.
975
9762000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
977
978 * command.c (cmd_init): Log related command are only installed for
979 terminal mode.
980
9812000-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
982
983 * Makefile.am (libzebra_a_SOURCES): Remove duplicated buffer.c.
984
985 * zebra.h: Remove #warn directive.
986
9872000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
988
989 * keychain.c (keychain_init): Register "key chain" command to
990 KEYCHAIN_NODE and KEYCHAIN_KEY_NODE.
991
992 * vty.c (vty_end_config): Fix missing vty_cinfig_unlock for other
993 CONFIG_NODE.
994
995 * command.c (config_end): Likewise.
996
997 * keychain.c (keychain_get): Key is sorted by it's identifier
998 value.
999
10002000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1001
1002 * linklist.c (list_delete_all_node): Call delete function if it is
1003 defined.
1004
1005 * command.c (cmd_execute_command_strict): Add modification for
1006 vtysh.
1007 (cmd_execute_command_strict): Remove first argument cmdvec because
1008 it is global varibale in command.c.
1009
10102000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1011
1012 * command.c (cmd_init): Install
1013 copy_runningconfig_startupconfig_cmd only in terminal mode.
1014
1015 * linklist.c (list_delete_node): Simplify the function.
1016 (listnode_lookup): Renamed from list_lookup_node.
1017
10182000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1019
1020 * stream.h: Undef stream_read and stream_write without
1021 parenthesis.
1022
1023 * newlist.c: File removed.
1024
1025 * newlist.h: Likewise.
1026
1027 * linklist.c (list_new): Remove list_init(). To allocate new
1028 linked list, please use list_new().
1029 (listnode_add): Remove list_add_node(). To add new node to linked
1030 list, please use listnode_add().
1031 (list_delete_by_val): Revemove fucntion.
1032
10332000-10-16 Nobuaki Tanaka <nobby@po.ntts.co.jp>
1034
1035 * table.c (route_table_free): Reimplement route_table_free().
1036
10372000-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1038
1039 * keychain.c (keychain_get): Register key_delete_func to key
1040 list's delete function. Use linklist.c instead of newlist.c.
1041
10422000-10-04 Akihiro Mizutani <mizutani@dml.com>
1043
1044 * filter.c (access_list_remark): Add access-list's remark command.
1045 (no_access_list): "no access-list 100 permit any" error message
1046 bug is fixed.
1047
10482000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1049
1050 * memory.h (enum): Add MTYPE_SOCKUNION.
1051
10522000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1053
1054 * zebra-0.89 is released.
1055
10562000-10-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1057
1058 * linklist.c (list_add_node_head): Delete unused function.
1059 (list_add_node_tail): Likewise.
1060
10612000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1062
1063 * stream.c (stream_read_unblock): Add new function for unblocking
1064 read.
1065
10662000-09-26 Jochen Friedrich <jochen@nwe.de>
1067
1068 * smux.c (smux_register): Fix bug of can't register more than one
1069 MIB with SMUX.
1070
10712000-09-26 Makoto Otsuka <otsuka@inl.ntts.co.jp>
1072
1073 * vty.c (vty_close): Fix memory leak of sb_buffer.
1074 (vty_new): Likewise.
1075
10762000-09-21 steve@Watt.COM (Steve Watt)
1077
1078 * log.h: Do not declare zlog_priority[0] variable.
1079
10802000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1081
1082 * linklist.h (struct _list ): Add member cmp for compare function.
1083 (struct _list ): Member up is deleted
1084
10852000-09-12 David Lipovkov <dlipovkov@OpticalAccess.com>
1086
1087 * if.c: Include RIP_API header when RIP API is enabled.
1088
10892000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1090
1091 * prefix.c (prefix_free): Siplify prefix_free().
1092
1093 * keychain.c (key_match_for_accept): strncmp check bug is fixed.
1094
10952000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1096
1097 * zebra.h: Merge roken.h into zebra.h.
1098
10992000-09-05 Akihiro Mizutani <mizutani@dml.com>
1100
1101 * routemap.c (route_map_init_vty): Install route-map command to
1102 RMAP_NODE.
1103
11042000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1105
1106 * thread.c (thread_get_id): Remove pthread related garbage.
1107
1108 * command.h (struct host): Likewise.
1109
1110 * zebra.h: Likewise.
1111
11122000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1113
1114 * command.h (node_type ): Add AAA node for authentication.
1115
1116 * vty.c (vty_close): Do not close stdout.
1117
11182000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1119
1120 * vty.c (vty_init_vtysh): Added for vtysh.
1121
1122 * distribute.c (districute_list_prefix_all): Interface independent
1123 filter can be set.
1124 (distribute_list_all): Likewise.
1125 (config_show_distribute): Display current distribute-list status
1126 for "show ip protocols".
1127
11282000-08-18 Akihiro Mizutani <mizutani@dml.com>
1129
1130 * command.c (config_terminal_no_length): no terminal monitor ->
1131 terminal no monitor
1132 (cmd_init): Do not install service_terminal_length_cmd into
1133 ENABLE_NODE.
1134
1135 * vty.c (terminal_no_monitor): no terminal length -> terminal no
1136 length.
1137
11382000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1139
1140 * zebra-0.88 is released.
1141
11422000-08-17 Magnus Ahltorp <ahltorp@nada.kth.se>
1143
1144 * vty.h (struct vty ): Add iac_sb_in_progress and sb_buffer for
1145 better IAC handling.
1146
1147 * vty.c (vty_telnet_option): Change telnet option handling.
1148
11492000-08-15 Gleb Natapov <gleb@nbase.co.il>
1150
1151 * zclient.c (zclient_redistribute_unset): New function added.
1152
11532000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1154
1155 * zclient.c (zebra_interface_add_read): Change ifindex restore
1156 size from two octet to four.
1157 (zebra_interface_state_read): Likewise.
1158 (zebra_interface_address_add_read): Likewise.
1159
11602000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1161
1162 * vty.c (vty_event): Use vector_set_index() instead of
1163 vector_set().
1164
11652000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1166
1167 * zebra.h (ZEBRA_XXX_DISTANCE_DEFAULT): Define Default
1168 Administrative Distance of each protocol.
1169
11702000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
1171
1172 * if.h (struct interface ): Add new member bandwidth to struct
1173 interface.
1174
1175 * zclient.c (zebra_interface_add_read): Fetch bandwidth value.
1176 (zebra_interface_state_read): Likewise.
1177
11782000-08-07 Gleb Natapov <gleb@nbase.co.il>
1179
1180 * routemap.c (route_map_event_hook): New hook route_map_event_hook
1181 is added. This hook is called when route-map is changed. The
1182 parameters passed to the hook are 'event' and 'route-map name'
1183
1184 * routemap.h: Add prototype for route_map_event_hook().
1185
11862000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1187
1188 * zclient.c (zebra_ipv4_route): zebra_ipv4_route(),
1189 zebra_ipv4_add(), zebra_ipv4_delete() are removed.
1190
1191 * routemap.c (route_map_empty): Add new function.
1192 (route_map_delete): Use route_map_index_delete() instead of
1193 route_map_index_free().
1194 (route_map_index_free): Function removed.
1195
11962000-08-06 Gleb Natapov <gleb@nbase.co.il>
1197
1198 * routemap.c (route_map_index_delete): Add check for route-map is
1199 empty or not.
1200
12012000-08-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1202
1203 * zclient.c (zebra_ipv4_add): Change socket arguemnt with struct
1204 zclient.
1205
12062000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1207
1208 * zclient.h (struct zebra): Add obuf for output buffer.
1209
1210 * if.c: Remove #ifdef NRL enclosing if_nametoindex() and
1211 if_indextoname().
1212
12132000-08-02 David Lipovkov <davidl@nbase.co.il>
1214
1215 * if.h (IF_PSEUDO_UNSET): IF_PSEUDO related macro added.
1216 (IF_UNKNOWN_SET): IF_UNKNOWN related macro deleted.
1217
1218 * if.c (interface_pseudo): Add "pseudo" command to interface node.
1219 (no_interface_pseudo): Add "no pseudo" command to interface node.
1220
1221 * zclient.c (zebra_interface_add_read): Set pseudo flag when it is
1222 send from zebra.
1223
12242000-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1225
1226 * zebra.h (ZEBRA_IPV4_NEXTHOP_LOOKUP): Add new message.
1227 (ZEBRA_IPV6_NEXTHOP_LOOKUP): Likewise.
1228
1229 * vty.c (vty_serv_un): Use AF_UNIX for backward compatibility.
1230
12312000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1232
1233 * vty.c: Use vector for VTY server thread listing instead of
1234 single value.
1235
12362000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1237
1238 * keychain.c (no_key_chain): "no key chain WORD" command is added.
1239
12402000-07-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1241
1242 * command.c (config_from_file): If command fail in
1243 KEYCHAIN_KEY_NODE, down to KEYCHAIN_NODE.
1244
1245 * vty.h (struct vty ): Add index_sub member.
1246
12472000-07-27 Akihiro Mizutani <mizutani@dml.com>
1248
1249 * if.c: Help strings updates.
1250
12512000-07-11 Akihiro Mizutani <mizutani@dml.com>
1252
1253 * command.c (no_config_enable_password): Add "no enable password"
1254 command.
1255 (config_write_host): Display password string.
1256
1257 * routemap.c (route_map_delete_match): Add support for delete
1258 match without argument.
1259 (route_map_delete_set): Likewise.
1260
12612000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1262
1263 * command.h (node_type ): Change KEYCHAIN_NODE and
1264 KEYCHAIN_KEY_NODE place just before INTERFACE_NODE.
1265
12662000-07-09 Jochen Friedrich <jochen@scram.de>
1267
1268 * smux.c (config_write_smux): Fixes the option to override OID and
1269 password for SMUX.
1270
12712000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1272
1273 * command.h (node_type ): Add SMUX_NODE for SMUX configuration.
1274
12752000-07-09 Toshiaki Takada <takada@zebra.org>
1276
1277 * command.c: Sort descvec command's help.
1278
1279 * vty.c (vty_describe_command): Display '<cr>' at the end of
1280 descriptions.
1281
12822000-07-05 Toshiaki Takada <takada@zebra.org>
1283
1284 * command.c (cmd_ipv6_match), (cmd_ipv6_prefix_match): Fix bug
1285 treatment of double colon.
1286
12872000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1288
1289 * zclient.h: Add zclient_redistribute_default_{set,unset}().
1290
1291 * keychain.c: New file for authentication key management.
1292 * keychain.h: Likewise.
1293
1294 * tcpfilter.c: New file for TCP/UDP base filtering using ipfw or
1295 ipchains.
1296 * tcpfilter.h: Likewise.
1297
1298 * flap.h: New file for route flap dampening.
1299 * flap.c: Likewise.
1300
13012000-07-04 Toshiaki Takada <takada@zebra.org>
1302
1303 * filter.c (struct filter): Add exact flag.
1304 (access_list): Add exact-match command.
1305 (ipv6_access_list): Add exact-match command.
1306
13072000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1308
1309 * zebra.h (ZEBRA_REDISTRIBUTE_DEFAULT_ADD): New message for
1310 request default route.
1311
13122000-07-01 Hideaki YOSHIFUJI ($B5HF#1QL@(B) <yoshfuji@ecei.tohoku.ac.jp>
1313
1314 * smux.c: Add IPv6 smux connection code.
1315
13162000-06-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1317
1318 * vty.c (vty_complete_command): To cooperate readline library,
1319 returned string is newly allocated. So some match function case
1320 need, free of memory.
1321
13222000-06-12 Akihiro Mizutani <mizutani@dml.com>
1323
1324 * distribute.c: Fix help strings.
1325
13262000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1327
1328 * command.c (cmd_complete_command): Add check for vector_slot
1329 (vline, index) is not NULL when calculating lcd.
1330 (cmd_entry_function): First check variable arguemnt to prevent it
1331 from completion.
1332
13332000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1334
1335 * vty.h (struct vty ): Add output_count member for displaying
1336 output route count. Remove arugment arg from output_func because
1337 the value is passed by vty argument. Change output to output_rn.
1338 Add output_clean function pointer member. Add output_type member.
1339
13402000-06-10 Toshiaki Takada <takada@zebra.org>
1341
1342 * command.c (show_startup_config): Add "show startup-config"
1343 command.
1344
13452000-06-06 Akihiro Mizutani <mizutani@dml.com>
1346
1347 * filter.c: Fix help strings.
1348
13492000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1350
1351 * prefix.h (struct prefix_rd): New prefix structure for routing
1352 distinguisher.
1353 (struct prefix): Add padding to every prefix structure.
1354
1355
1356 * routemap.c (route_map_add_match): When completely same match
1357 statement exists, don't duplicate it.
1358
13592000-06-05 Akihiro Mizutani <mizutani@dml.com>
1360
1361 * routemap.c: Change NAME to WORD.
1362
1363 * plist.c: Fix help strings.
1364
13652000-06-02 Akihiro Mizutani <mizutani@dml.com>
1366
1367 * routemap.c: Fix route-map help strings.
1368
13692000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1370
1371 * command.c (cmd_filter_by_completion): Fix CMD_VARARG treatment
1372 to filter other non vararg commands.
1373
1374 * routemap.c (route_map_init_vty): Use install_default() for
1375 install common commands into route-map node..
1376
13772000-06-01 Akihiro Mizutani <mizutani@dml.com>
1378
1379 * command.h (OSPF_STR): Macro added.
1380
13812000-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1382
1383 * command.c (cmd_complete_command): LCD completion must not modify
1384 installed command string.
1385
1386 * plist.c (ipv6_prefix_list): Fix wrong syntax definition. Change
1387 X:X::X:X to X:X::X:X/M.
1388
13892000-05-31 Toshiaki Takada <takada@zebra.org>
1390
1391 * vty.c (show_history): New defun added.
1392
13932000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1394
1395 * command.h (CMD_COMPLETE_LIST_MATCH): New define for completion
1396 list. CMD_COMPLETE_MATCH is used for LCD completion.
1397
1398 * vty.c (vty_complete_command): Matched string's LCD is completed.
1399
1400 * command.c (cmd_lcd): New function for calculate LCD of matched
1401 strings.
1402
14032000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1404
1405 * command.c (install_default): config_write_terminal_cmd,
1406 config_write_file_cmd, config_write_memory_cmd are added to
1407 default node.
1408
1409 * memory.c (memory_init): Divide show memory command into each
1410 sort.
1411
1412 * command.c (cmd_init): config_write_terminal_cmd,
1413 config_write_file_cmd, config_write_memory_cmd are added to
1414 CONFIG_NODE.
1415
1416 * routemap.c (route_map_index_free): New function.
1417 (no_route_map_all): New DEFUN for "no route-map NAME".
1418
1419 * filter.c (no_access_list_all): New DEFUN for delete access-list
1420 with NAME.
1421 (no_ipv6_access_list_all): Likewise.
1422
14232000-05-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1424
1425 * plist.c: Change IPV6_PREFIX to X:X::X:X. When "any" is
1426 specified, user can not use "ge" and "le" statement.
1427
14282000-05-22 Thomas Molkenbur <tmo@datus.datus.com>
1429
1430 * routemap.c (route_map_add_set): Fix bug of next pointer missing.
1431
1432 * table.c (route_table_free): Like wise.
1433
14342000-05-22 Toshiaki Takada <takada@zebra.org>
1435
1436 * vty.c (vty_stop_input): Set history pointer to the latest one.
1437
1438 * vty.c (vty_hist_add): Do not add command line history when input
1439 is as same as previous one.
1440
14412000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1442
1443 * memory.h (enum): Add MTYPE_ECOMMUNITY and MTYPE_ECOMMUNITY_VAL.
1444
14452000-05-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1446
1447 * command.h (node_type ): Add BGP_VPNV4_NODE.
1448
14492000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1450
1451 * vty.c (vtysh_accept): Add cast of struct sockaddr * to bind
1452 argument. Reported by: Vesselin Mladenov <mladenov@netbg.com>.
1453
1454 * filter.c (ipv6_access_list): Add IPv6 prefix example instead of
1455 IPv4 example. Reported by: Love <lha@s3.kth.se>.
1456
1457 * command.c (cmd_complete_command): Make it sure last element of
1458 matchvec is NULL. This fix problem which cause crush in
1459 vty_complete_command(). Reported by: JINMEI Tatuya
1460 <jinmei@isl.rdc.toshiba.co.jp>.
1461
14622000-04-28 Love <lha@s3.kth.se>
1463
1464 * prefix.h (struct prefix): Add padding.
1465
14662000-04-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1467
1468 * command.c (show_version): Update copyright year.
1469
14702000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1471
1472 * routemap.c (route_map_apply): When map is NULL, return deny.
1473
14742000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1475
1476 * filter.c (access_list_apply): When access is NULL, return deny.
1477
1478 * plist.c (prefix_list_apply): When plist is NULL, return deny.
1479
14802000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1481
1482 * command.h (node_type ): Change RDISC_NODE to IRDP_NODE.
1483
14842000-04-18 Toshiaki Takada <takada@zebra.org>
1485
1486 * filter.[ch] (access_list_add_hook), (access_list_delete_hook):
1487 Add argument for hook function to give struct access_list *.
1488
14892000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1490
1491 * plist.c (prefix_list_entry_match): In case of le nor ge is
1492 specified, exact match is performed.
1493 (prefix_list_entry_match): Add any entry matching check.
1494
14952000-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1496
1497 * vty.c (exec_timeout): Separate timeout setting to minutes and
1498 seconds.
1499 (no_exec_timeout): Add "no exec-timeout" command.
1500
1501 * vty.h (VTY_TIMEOUT_DEFAULT): Change default value from 300 to
1502 600.
1503
15042000-03-31 Jochen Friedrich <jochen@scram.de>
1505
1506 * smux.h (SMUX_CLOSE): The SMUX_CLOSE PDU is implicit integer, so
1507 it is a primitive encoding and not constructed.
1508
15092000-03-28 Toshiaki Takada <takada@zebra.org>
1510
1511 * memory.[ch] (enum): Add MTYPE_OSPF_EXTERNAL_INFO.
1512
15132000-03-26 Love <lha@s3.kth.se>
1514
1515 * zclient.c (zclient_read): Add nbytes size check for
1516 ZEBRA_HEADER_SIZE. Check return value of steam_read ().
1517
15182000-03-26 Rick Payne <rickp@rossfell.co.uk>
1519
1520 * routemap.c: Add flexible route-map commands such as on-match
1521 next, on-match goto N.
1522
1523 * routemap.h: Likewise
1524
15252000-03-23 Adrian Bool <aid@u.net.uk>
1526
1527 * command.c (config_log_trap): Add new command "log trap
1528 PRIORITY".
1529
15302000-03-14 Toshiaki Takada <takada@zebra.org>
1531
1532 * memory.c (struct memory_list): Add Link List and Link Node
1533 to view.
1534
1535 * memory.h (enum): Remove MTYPE_OSPF_EXTERNAL_ROUTE.
1536
15372000-01-20 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1538
1539 * str.c (snprintf): Fix bug of calling sprintf instead of
1540 vsprintf.
1541
15422000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1543
1544 * memory.h (enum): Add MTYPE_RIP_PEER.
1545
15462000-01-15 Toshiaki Takada <takada@zebra.org>
1547
1548 * memory.h (enum): Add MTYPE_OSPF_CRYPT_KEY.
1549
15502000-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1551
1552 * command.h (node_type ): Add MASC_NODE for masc.
1553
15542000-01-09 Wang Jianliang <wangjl@soim.net>
1555
1556 * routemap.c (route_map_index_add): When route_map_index is not
1557 empty and insert new item at the head, it can cause core dump.
1558 Fix "if (index == map->head)" to "if (point == map->head).
1559 (route_map_add_set): If there is an old set command, override old
1560 set command with new one.
1561 (route_map_index_delete): Use while() instead of for for() for
1562 logical correctness.
1563
15641999-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1565
1566 * memory.h (enum): Add MTYPE_BGP_STATIC.
1567
15681999-12-23 Alex Zinin <zinin@amt.ru>
1569 * zebra.h, zclient.*: dynamic int up/down message
1570 support
1571
15721999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1573
1574 * thread.c (thread_cancel_event): Add a function for clean up
1575 events.
1576
15771999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1578
1579 * dropline.c: Delete file.
1580 dropline.h: Linewise.
1581
15821999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1583
1584 * filter.c (access_list_filter_delete): Wrong pointer
1585 access->master was pointed out after access is freed. I store
1586 master value at the beginning of the function.
1587
15881999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1589
1590 * vty.c (exec_timeout): Change of VTY timeout affect to current
1591 VTY connection.
1592 (vty_accept): Instead of immediate exit() return -1.
1593
15941999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1595
1596 * vty.c (vty_configure_lock): Configuration lock function added.
1597 Only one VTY can use CONFI_NODE at the same time.
1598
1599 * log.c: Delete zvlog_* functions. Now zlog_* does the same
1600 thing.
1601
1602 * log.c (log_init): Function removed.
1603 (log_close): Likewise.
1604 (log_flush): Likewise.
1605 (log_open): Likewise.
1606
1607 * vty.c (terminal_monitor): Add new command.
1608 (no_terminal_monitor): Likewise.
1609
1610 * log.c (old_log): Function removed.
1611 (old_log2): Likewise.
1612 (old_log_warn): Likewise.
1613
16141999-12-04 Toshiaki Takada <takada@zebra.org>
1615
1616 * command.c (cmd_ipv6_match): New function added.
1617 (cmd_ipv6_prefix_match): Likewise.
1618
16191999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1620
1621 * command.c (cmd_ipv6_match):
1622
1623 * table.c: Delete #ifdef HAVE_MBGPV4.
1624
1625 * prefix.h (struct prefix): Add safi member.
1626 (struct prefix_ipv4): Likewise.
1627 (struct prefix_ipv6): Likewise.
1628
16291999-12-04 Rumen Svobodnikov <rumen@linux.tu-varna.acad.bg>
1630
1631 * memory.c (struct mstat): Revert to support MEMORY_LOG.
1632
16331999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1634
1635 * version.h: Bump up to 0.81c for testing new kernel codes.
1636
16371999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1638
1639 * thread.h (struct thread): Pthread support is disabled all
1640 platform.
1641
16421999-11-21 Michael Handler <handler@sub-rosa.com>
1643
1644 * Include <limits.h> and <strings.h> under SUNOS_5.
1645
16461999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1647
1648 * sockunion.c (in6addr_cmp): Enclosed by #define HAVE_IPV6
16491999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1650
1651 * command.h (node_type ): Add BGP_IPV4_NODE and BGP_IPV6_NODE.
1652
16531999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1654
1655 * command.c (disable): Add `disable' command.
1656
16571999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1658
1659 * plist.c (vty_prefix_list_install): Add any check.
1660
16611999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1662
1663 * command.h (node_type ): Add DUMP_NODE.
1664
16651999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1666
1667 * smux.c: Change default SMUX oid to compatible with gated.
1668
16691999-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1670
1671 * if_rmap.c: New file added.
1672
1673 * if_rmap.h: New file added.
1674
16751999-10-29 Alex Zinin <zinin@amt.ru>
1676
1677 * hash.c: add hash_free() function
1678
16791999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1680
1681 * hash.c (hash_clean): Add clean function.
1682
1683 * plist.c (prefix_list_reset): Add reset function.
1684
1685 * filter.c (access_list_reset): Add reset function.
1686
16871999-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1688
1689 * client.c: Merged with zclient.c.
1690 * client.h: Merged with zclient.h.
1691
16921999-10-15 Jordan Mendelson <jordy@wserv.com>
1693
1694 * md5.c: Imported from GNU C Library.
1695 * md5-gnu.h: Likewise.
1696
16971999-10-15 Jochen Friedrich <jochen@scram.de>
1698
1699 * smux.c (smux_getresp_send): SMUX_GETRSP codes improvement.
1700
17011999-10-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1702
1703 * smux.h: New file added.
1704
1705 * snmp.c: Rename to smux.c.
1706
17071999-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1708
1709 * command.c (cmd_execute_command_strict): Filter ambious commands.
1710 (cmd_filter_by_string): Change to return enum match_type.
1711
17121999-10-01 Toshiaki Takada <takada@zebra.org>
1713
1714 * vty.c (vty_describe_fold): New function which does VTY
1715 description line fold.
1716 * vty.c (vty_describe_command): Set description column.
1717
17181999-09-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1719
1720 * plist.c (prefix_list_init_ipv4): VTY user interface is improved.
1721
17221999-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1723
1724 * command.c (cmd_filter_by_string): Fix bug of CMD_IPV4 and
1725 CMD_IPV4_PREFIX check. Both return type must be exact_match.
1726
17271999-09-24 Toshiaki Takada <takada@zebra.org>
1728
1729 * command.c (cmd_filter_by_completion),
1730 (is_cmd_ambiguous): Check IPv4 address, IPv4 prefix and range
1731 parameter matches range.
1732
17331999-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1734
1735 * routemap.c (route_map_apply): Returm RM_DENYMATCH when no match
1736 is performed.
1737
17381999-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1739
1740 * vty.c (vty_read): Control-C stop VTY_MORE mode.
1741
17421999-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1743
1744 * command.h (node_type ): Add ACCESS_IPV6_NODE and
1745 PREFIX_IPV6_NODE.
1746
1747 * distribute.h: New file added.
1748
1749 * command.h (node_type ): Delete DISTRIBUTE_NODE.
1750
17511999-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1752
1753 * vty.c (vty_terminate_all): New function added for reload
1754 support.
1755
17561999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1757
1758 * memory.h (enum): Add new type MTYPE_OSPF_EXTERNAL_ROUTE.
1759
17601999-08-31 Janos Farkas <chexum@shadow.banki.hu>
1761
1762 * vty.c (vty_read): Handle also 0x7f (alt-backspace), just like
1763 esc-ctrl-h (delete word backwards).
1764
17651999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1766
1767 * if.h: Add if_nametoindex for NRL.
1768
17691999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1770
1771 * if.c (if_create): New function.
1772
17731999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1774
1775 * snmp.c: New file.
1776
17771999-08-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1778
1779 * stream.c (stream_put): stream_memcpy () is changed to stream_put
1780 (). stream_get () is added.
1781
17821999-08-18 Toshiaki Takada <takada@zebra.org>
1783
1784 * memory.h (enum): Add MTYPE_OSPF_LSA_DATA.
1785
17861999-08-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1787
1788 * table.c (route_table_finish): add function frees table.
1789
17901999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1791
1792 * memory.h (enum): Add MTYPE_RTADV_PREFIX.
1793
17941999-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1795
1796 * if.h (struct interface ): hw_address, hw_address_len added.
1797
17981999-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1799
1800 * if.h (struct interface ): Change structure member if_data to
1801 info, index to ifindex.
1802
18031999-08-08 Rick Payne <rickp@rossfell.co.uk>
1804
1805 * routemap.c: Multi protocol route-map modification.
1806
1807 * routemap.c (route_map_apply): Route match process bug is fixed.
1808
18091999-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1810
1811 * thread.c (thread_fetch): When signal comes, goto retry point.
1812
18131999-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1814
1815 * Makefile.am: Add sockopt.c and sockopt.h
1816 * sockopt.c: New file.
1817 * sockopt.h: New file.
1818
18191999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1820
1821 * version.h (ZEBRA_VERSION): Release zebra-0.75
1822
18231999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1824
1825 * memory.h (enum): Add MTYPE_RIPNG_AGGREGATE.
1826
18271999-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1828
1829 * sockunion.h: Add sockunion_getpeername ().
1830
18311999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1832
1833 * version.h: Release zebra-0.74
1834
18351999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1836
1837 * command.h (struct host): Delete lines from struct host. Add
1838 lines to struct vty.
1839
1840 * command.c: Delete `lines LINES'. Terminal display line settings
1841 should be done by `terminal length' command.
1842
18431999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1844
1845 * memory.h (enum): MTYPE_OSPF_PATH are added.
1846
18471999-07-22 Toshiaki Takada <takada@zebra.org>
1848
1849 * memory.h (enum): MTYPE_OSPF_NEXTHOP is added.
1850
18511999-07-21 Toshiaki Takada <takada@zebra.org>
1852
1853 * linklist.c (list_add_node_prev), (list_add_node_next),
1854 (list_add_list): New function added.
1855
1856 * table.c (route_table_free): New function added.
1857
18581999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1859
1860 * plist.c (config_write_prefix): Set write flag when configuration
1861 is written.
1862
18631999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1864
1865 * prefix.c : prefix_cmp() added. change apply_mask() to
1866 apply_mask_ipv4(), and new apply_mask() added.
1867
18681999-07-14 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1869
1870 * prefix.c (prefix2str): append prefixlen.
1871
18721999-07-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1873
1874 * command.c (config_terminal): Change "config terminal" to
1875 "configure terminal". Reported by Georg Hitsch
1876 <georg@atnet.at>.
1877 (config_terminal_length): `terminal length <0-512>' is added. At
1878 this moment this command is only usef for vty interface.
1879 Suggested by Georg Hitsch <georg@atnet.at>.
1880
18811999-07-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1882
1883 * routemap.c (rulecmp): Add wrapper function of strcmp.
1884
18851999-07-08 Rick Payne <rickp@rossfell.co.uk>
1886
1887 * sockunion.c (inet_aton): Fix bug of inet_aton.
1888
18891999-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1890
1891 * version.h (ZEBRA_VERSION): Start zebra-0.73
1892
18931999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1894
1895 * version.h: Bump up to 0.72.
1896
18971999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1898
1899 * command.c (install_default): New function for install default
1900 commands to the node.
1901
1902 * memory.h (enum): MTYPE_NEXTHOP is added.
1903
19041999-07-01 <kunihiro@zebra.org>
1905
1906 * command.c (no_banner_motd): `no banner motd' command added.
1907
19081999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1909
1910 * regex.c: Update to glibc-2.1.1's posix/regex.c
1911
1912 * regex-gnu.h: Update to glibc-2.1.1's posix/regex.h
1913
1914 * prefix.h (IPV4_ADDR_SAME): Macro added.
1915 (IPV6_ADDR_SAME): Likewise.
1916
19171999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1918
1919 * memory.h (enum): Add MTYPE_OSPF_VERTEX
1920
1921 * version.h: Bump up to 0.71.
1922
1923 * vty.c (vty_serv_sock_addrinfo): Use addrinfo function to bind
1924 VTY socket when IPv6 is enabled.
1925
19261999-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1927
1928 * vty.c (vty_serv_sock): Change vty_serv_sock determine which
1929 address family to bind.
1930
1931 * command.c: Add quit command.
1932
19331999-06-26 NOGUCHI kay <kay@dti.ad.jp>
1934
1935 * vty.c (vty_read_config): Fix bug of configuration file path
1936 detection.
1937
19381999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1939
1940 * version.h: Bump up to 0.70.
1941
19421999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1943
1944 * buffer.h (GETL): Remove GETL macro.
1945
1946 * version.h: Bump up to 0.69.
1947
19481999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1949
1950 * if.c (connected_add): Commented out connected_log.
1951
19521999-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1953
1954 * command.h (struct cmd_element ): strvec and descvec is combined
1955 into newstrvec.
1956
1957 * command.c (desc_make): Function removed.
1958 (desc_next): Function removed.
1959
1960 * command.h (struct cmd_element ): docvec is removed from struct
1961 cmd_element.
1962
19631999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1964
1965 * command.c (cmd_execute_command): Remove command NULL check.
1966
1967 * command.h (struct cmd_element ): Add newstrvec entry to struct
1968 cmd_element.
1969 (DEFUN2): DEFUN2 macro is removed. DEFUN is extended to support
1970 (a|b|c) statement.
1971 (DESC): DESC macro is removed.
1972
1973 * vty.c (vty_complete_command): When return value is
1974 CMD_ERR_NO_MATCH, don't display error message.
1975
19761999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1977
1978 * table.c (route_next_until): New function.
1979
1980 * version.h: Bump up to 0.68.
1981
19821999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1983
1984 * vty.c (vty_close): Free vty->buf when vty is closed.
1985
1986 * memory.h (enum): Add MTYPE_COMMUNITY_ENTRY and
1987 MTYPE_COMMUNITY_LIST.
1988
1989 * vty.h (struct vty ): Change buf from static length buffer to
1990 variable length buffer.
1991
1992 * vty.c (vty_ensure): New function added.
1993
19941999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1995
1996 * command.h (node_type ): Add COMMUNITY_LIST_NODE.
1997
1998 * command.c (config_enable_password): Freeing host.enable bug is
1999 fixed.
2000 (config_enable_password): Add argc count check.
2001
20021999-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
2003
2004 * version.h: Bump up to 0.67.
2005
20061999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2007
2008 * command.c (zencrypt): New function for encrypt password.
2009
2010 * command.h (struct host): Add password_encrypt and
2011 enable_encrypt.
2012
20131999-05-30 Jochen Friedrich <jochen@scram.de>
2014
2015 * command.h (struct host): New member encrypt is added for
2016 encrypted password.
2017
20181999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2019
2020 * vty.c: Remove all_digit_check function. Instead use all_digit.
2021
2022 * prefix.c (all_digit): New function for checking string is made
2023 from digit character.
2024
20251999-05-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2026
2027 * Makefile.am (libzebra_a_SOURCES): Add zclient.c.
2028 (noinst_HEADERS): Add zclient.h
2029
2030 * zclient.[ch]: New file for zebra client routine.
2031
2032 * memory.h (enum): Add MTYPE_ZEBRA.
2033
20341999-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2035
2036 * version.h (ZEBRA_VERSION): Update to 0.66.
2037
20381999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2039
2040 * buffer.h (GETC,GETW): Macro deleted.
2041
20421999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2043
2044 * prefix.h (IPV4_NET0, IPV4_NET127): Macro added.
2045
20461999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2047
2048 * vty.c (service_advanced_vty): New command added.
2049 (no_service_advanced_vty): Likewise.
2050
20511999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2052
2053 * vty.c (vty_auth): If advanced flag is set and enable password is
2054 not set, directly login to the ENABLE_NODE. This feature is
2055 originally designed and implemented by Stephen R. van den Berg
2056 <srb@cuci.nl>.
2057
2058 * command.h (host): Add advanced flag to struct host for advanced
2059 vty terminal interface.
2060
2061 * version.h (ZEBRA_VERSION): Update to 0.65 for next beta release.
2062
20631999-05-14 Stephen R. van den Berg <srb@cuci.nl>
2064
2065 * command.h (node_type ): Add TABLE_NODE.
2066
2067 * vty.c (vty_telnet_option): Check host.lines value.
2068
2069 * command.c (config_lines): DEFUN for 'lines LINES' command.
2070
2071 * zebra.h: Include <sys/utsname.h> for uname().
2072 (RT_TABLE_MAIN): Defined as 0 if OS does not support multiple
2073 routing table.
2074
2075 * vty.c (vty_auth): Directly login to the ENABLE_NODE when enable
2076 password is not set.
2077 (vty_prompt): Get machine's hostname when hostname is not set.
2078
20791999-05-11 James Willard <james@whispering.org>
2080
2081 * command.c (config_exit): Close connection when `exit' command is
2082 executed at ENABLE_NODE.
2083
20841999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2085
2086 * vty.c (vty_stop_input): `C-c' key change node to ENABLE_NODE.
2087
2088 * command.c (cmd_execute_command_strict): Matched command size
2089 check added.
2090 (cmd_make_desc_line): New function for DEFUN2.
2091
2092 * command.h (struct cmd_element ): Add descsize.
2093
20941999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2095
2096 * command.h (struct cmd_element ): Remame descvec to docvec.
2097 (struct cmd_element ): Add descvec for new description system.
2098
2099 * command.c (desc_make): Check cmd->descvec.
2100
21011999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2102
2103 * memory.h (enum): Add MTYPE_CLUSTER, MTYPE_CLUSTER_VAL.
2104
21051999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2106
2107 * version.h (ZEBRA_VERSION): Bump up to 0.64 for next beta
2108 release.
2109
21101999-05-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2111
2112 * linklist.c (list_delete_all_node): bug fix.
2113 previous code loses current position when node
2114 is deleted.
2115
21161999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2117
2118 * command.h (DESC): Macro added.
2119 (struct cmd_element2): Delete struct cmd_element2.
2120
2121 * plist.c (prefix_list): Sequential number option check is added.
2122
21231999-05-02 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2124
2125 * log.c (zvlog_{debug,info,notice,warn,err}): have been
2126 added. now we can log both console and file, but still
2127 need some fix about config write.
2128
21291999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2130
2131 * log.c (zvlog_debug): Fix yasu's change.
2132
21331999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2134
2135 * plist.c (prefix_list): Fix typo.
2136
21371999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2138
2139 * Set version to 0.63 for first beta package.
2140
21411999-04-27 Carlos Barcenilla <barce@frlp.utn.edu.ar>
2142
2143 * prefix.c (str2prefix_ipv4): Fix prefix length check.
2144 (str2prefix_ipv6): Likewise.
2145
21461999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2147
2148 * memory.h (enum): Add MTPYE_PREFIX_LIST and
2149 MTYPE_PREFIX_LIST_ENTRY.
2150
2151 * command.h (node_type ): Add PREFIX_NODE.
2152
21531999-04-25 Carlos Barcenilla <barce@frlp.utn.edu.ar>
2154
2155 * command.c: ALIAS (config_write_memory_cmd) and ALIAS
2156 (copy_runningconfig_startupconfig_cmd) is added.
2157
2158 * table.c (route_node_lookup): Unused match variable deletion.
2159
21601999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2161
2162 * Makefile.am (libzebra_a_SOURCES): plist.c added.
2163 (noinst_HEADERS): plist.h added.
2164
2165 * plist.c, plist.h: New file added.
2166
2167 * memory.h (enum): Rename MTYPE_AS_PASN to MTYPE_AS_STR.
2168 * memory.c: Likewise.
2169
21701999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2171
2172 * command.c (show_version): `show version' command added.
2173
21741999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2175
2176 * prefix.c (str2prefix_ipv6): Prefix length overflow check.
2177
21781999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
2179
2180 * prefix.c (str2prefix_ipv4): Prefix length overflow check.
2181
21821999-04-19 Alex Bligh <amb@gxn.net>
2183
2184 * prefix.c (sockunion2hostprefix): Function added.
2185 (sockunion2prefix): Address family was not set. Now it is set.
2186
2187 * vty.c: VTY access-class command is added.
2188
21891999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2190
2191 * memory.c: Change xmalloc to zmalloc. xcalloc, xrealloc, xfree,
2192 xstrdup are likewise.
2193
21941999-04-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2195
2196 * thread.c: Add thread_execute for other routing daemon.
2197 OSPF tasks need to be generated by "sheduled" and "executed".
2198
21991999-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2200
2201 * buffer.c: Rewrite buffer_write and buffer_flush related
2202 functions for fixing bugs. Reason of the problem and fix is
2203 suggested by Alex Bligh <amb@gxn.net>.
2204
22051999-04-12 Alex Bligh <amb@gxn.net>
2206
2207 * command.c (cmd_entry_function_descr): Added for variable
2208 argument help display.
2209
22101999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2211
2212 * regex.c, regex-gnu.h: Imported from GNU sed-3.02 distribution.
2213
22141999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2215
2216 * stream.c: stream_fifo_free bug is fixed.
2217
22181999-03-19 Toshiaki Takada <takada@zebra.org>
2219
2220 * stream.c (stream_strncpy): Added for getting any length bytes
2221 from stream.
2222
22231999-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2224
2225 * version.h (ZEBRA_BUG_ADDRESS): New macro added.
2226
22271999-03-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2228
2229 * buffer.c (buffer_flush_window): If ep is same as buffer's size
2230 length and lp is overrun one octet.
2231
22321999-03-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2233
2234 * vty.h: add VTY's timeout function.
2235
22361999-03-05 <kunihiro@zebra.org>
2237
2238 * command.h (node_type ): Add OSPF6_node.
2239
22401999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2241
2242 * zebra.h: Check HAVE_SYS_SELECT_H when include <sys/select.h>
2243
22441999-03-03 Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
2245
2246 * zebra.h: Include <net/if_var.h> if it exists.
2247
22481999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2249
2250 * getopt.[ch],getopt1.c: Sync with glibc-2.1.
2251
2252 * log.c (zlog): Tempolary ZLOG_STDOUT feature added.
2253
2254 * command.h: Include vector.h and vty.h
2255
22561999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2257
2258 * routemap.h (struct route_map_rule_cmd): Add prefix arguemnt.
2259
2260 * routemap.c (route_map_apply_index): Add prefix argument.
2261 (route_map_apply): Likewise.
2262
2263 * memory.h (enum): Add MTYPE_ROUTE_MAP_COMPILED.
2264
2265 * stream.c: Add stream_fifo related functions.
2266
22671999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2268
2269 * daemon.c: Return integer value. File descriptor close is added.
2270
2271 * memory.h (enum): add MTYPE_OSPF_LSA.
2272
22731999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2274
2275 * rsh.c: Remove empty file.
2276
22771999-02-22 <kunihiro@zebra.org>
2278
2279 * routemap.c: Add add/delete hook to route_map_master.
2280
22811999-02-19 Peter Galbavy <Peter.Galbavy@knowledge.com>
2282
2283 * str.[ch] added to supply wrappers for snprintf(), strlcat() and
2284 strlcpy on system without these.
2285
22861999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2287
2288 * syslog support added
2289
22901999-02-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2291
2292 * filter.c (access_list_add_hook): added for hook function management.
2293 * filter.c (access_list_delete_hook): Likewise.
2294
22951999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2296
2297 * stream.c: New file.
2298 * stream.h: New file.
2299 * Divide stream related fucntions from buffer.[ch] into stream.[ch].
2300
23011999-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2302
2303 * memory.h (enum): add MTYPE_STREAM, MTYPE_STREAM_DATA
2304
2305 * buffer.c (stream_new): Set MTYPE_STREAM to XMALLOC argument.
2306
23071998-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2308
2309 * routemap.c: route_map_index_delete() added.
2310
23111998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2312
2313 * buffer.c (buffer_empty): check cp instead of sp.
2314
23151998-12-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2316
2317 * radix.[ch]: Deleted.
2318
23191998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2320
2321 * buffer.c: Prototype fixes.
2322 * prefix.c: Likewise.
2323 * sockunion.c: Likewise.
2324 * sockunion.h: Likewise.
2325
23261998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2327
2328 * vty.c (vty_read): DELETE key works as vty_delete_char.
2329
23301998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2331
2332 * log.c (time_print): chane %y to %Y.
2333
23341998-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2335
2336 * distribute.c: new file.
2337
23381998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2339
2340 * filter.c: Remove all of struct prefix_{ipv4,ipv6} and add
2341 complete support of IPv6 access list.
2342
2343 * command.c (config_write_element): function delete.
2344 (config_write_host): function add. password and enable password
2345 isn't printed to vty interface.
2346
23471998-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2348
2349 * filter.c: Change prefix_ipv4 to prefix and add support of
2350 prefix_ipv6 filtering.
2351
23521998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2353
2354 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6 inet6-apps
2355 header includes.
2356
23571998-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2358
2359 * log.c (log_flush): fix function name typo.
2360
23611998-12-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2362
2363 * memory.h: OSPF memory type is added.
2364
23651998-11-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2366
2367 * command.c (sort_node): add sort_node() for pretty printing of
2368 command on vty interface.
2369 (config_password): delete the restriction of charaster of password
2370 string.
2371
23721998-09-05 Kunihiro Ishiguro <kunihiro@debian.zebra.org>
2373
2374 * prefix.c (prefix_ipv4_any): add prefix_ipv4_any().
2375
23761998-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2377
2378 * network.h: New file.
2379
23801998-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2381
2382 * vty.c (vty_will_echo): function name change from vty_off_echo.
2383
23841998-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2385
2386 * buffer.h: add PUTC,PUTW,PUTL macros.
2387
23881998-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2389
2390 * route.[ch]: renamed to prefix.[ch]
2391
23921998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2393
2394 * prefix_in, prefix_in6 is replaced by prefix_ipv4, prefix_ipv6.
2395
2396 * Makefile.am: @INCLUDES@ is deleted from INCLUDES.
2397
23981998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2399
2400 * host.[ch]: merged with command.[ch]
2401
24021998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2403
2404 * Makefile.am (libzebra_a_SOURCES): add route.c to libzebra_a_SOURCES.
2405
24061998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2407
2408 * route.c (str2prefix): str2prefix () is gone.
2409
24101998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2411
2412 * vty.c (vty_read_config): change CONDIR to SYSCONFDIR.
2413
2414 * .cvsignore: add file.
2415
2416 * memory.c (xerror): add arguent `type' and `size'.
2417
2418 * socket.c: deleted.
2419
24201998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2421
2422 * vector.c: malloc,free,realloc -> XMALLOC,XFREE,XREALLOC.
2423 * linklist.c: same as above.
2424
24251998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2426
2427 * filter.[ch]: added.
2428
24291998-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2430
2431 * vty.c (config_who): return CMD_SUCCESS
2432
24331998-04-01 Jochen Friedrich <jochen@scram.de>
2434
2435 * table.c (route_dump_node): route_dump_node is IPv6 specific
2436 function so move #ifdef to the end of route_dump_node ().
2437
24381998-03-05 "Hannes R. Boehm" <hannes@boehm.org>
2439
2440 * if.c: DEFUN(interface_desc) added.
2441
24421998-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2443
2444 * if.c: separated from ripd/rip_interface.c
2445
24461998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2447
2448 * thread.[ch] : added.
2449
24501998-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2451
2452 * vty.c (vty_delete_char): fix size bug.
2453 (vty_backward_pure_word): function added.
2454 (vty_read): ESC + 'f' perform vty_forward_word.
2455 (vty_read): ESC + 'b' perform vty_backward_word.
2456
24571998-02-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2458
2459 * radix.c (radix_lookup_rt): add mask check.
2460 (radix_delete_duproute): add mask check.
2461
24621998-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2463
2464 * command.c (config_write_file): fix vty -> file_vty.
2465
24661998-02-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2467
2468 * command.c (cmd_filter_ambiguous): add complex type treatment.
2469
24701998-02-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2471
2472 * vty.c (vty_time_print): function added.
2473 (vty_complete_command): now [...] element isn't shown by completion.
2474
24751998-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2476
2477 * command.c : change from cmd_install_node() to install_node().
2478
24791998-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2480
2481 * route.[ch]: struct rt{} is replaced by struct prefix{}.
2482
24831998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2484
2485 * command.c (cmd_execute_command): check command length.
2486
2487 * timer.c (zebra_timer_set): add zebra_timer_set.
2488
24891998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2490
2491 * command.h (node_type ): add ZEBRA_NODE.
2492
2493 * command.c (config_exit): add RIP_NODE.
2494 (config_write_file): add RIP_NODE.
2495
24961998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2497
2498 * print_version.c (print_version): Now Copyright is 1996-1998.
2499
2500 * sockunion.c (sockunion_log): moved from ../zebra/route.c
2501
25021997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2503
2504 * host.c (config_logfile): change 'log PATH' to 'logfile PATH'.
2505
2506 * sockunion.c (sockunion_sameprefix): add same prefix for
2507 sockunion.
2508
25091997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2510
2511 * radix.[ch] : are moved from ../zebra directroy.
2512
2513 * command.c (config_from_file): if command execution failed down
2514 level to CONFIG_NODE.
2515
2516 * host.c: config_log function which enable 'log FILENAME' command.
2517
25181997-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2519
2520 * vty.c: add vty_transpose_chars (). Now you can use '^T' to
2521 transpose character.
2522
2523 * command.c: cmd_cmdsize add, this is useful to check incomplete
2524 command.
2525
25261997-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2527
2528 * fd.h: add family for address family
2529
25301997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2531
2532 * command.o
2533 * vty.o
2534 * host.o is moved from ../zebra
2535
25361997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2537
2538 * make library directory.
2539