blob: 1e6f51ca49f0bc095b0bc22062060a487573bf95 [file] [log] [blame]
paul42d49862004-10-13 05:22:18 +000012004-10-13 Paul Jakma <paul@dishone.st>
2
3 * (global) more const'ification.
4 * sockunion.c: (sockunion_su2str) buffer should be sized
5 SU_ADDRSTRLEN.
6 (sockunion_log) do not return stack variables, strdup buf before
7 return.
8 * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied
9 values against ULONG_MAX is daft, when caller probably has passed
10 a type that can not hold ULONG_MAX. use a temporary long instead.
11 Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make
12 VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
13
hassoa1494112004-10-11 12:53:17 +0000142004-10-11 Hasso Tepper <hasso at quagga.net>
15
16 * command.h: Sync DEFUNSH with other macros.
17 * sockunion.c, sockunion.h: More const strings.
18
paul9076fbd2004-10-11 09:40:58 +0000192004-10-11 Paul Jakma <paul@dishone.st>
20
21 * thread.c: (funcname_thread_add_timer)
22 (funcname_thread_add_timer_msec) Fix mistakes from last change.
23 Pointed out by Liu Xin in [quagga-dev 1609].
paulc9eca012004-10-11 11:28:44 +000024 * if.h: mtu's should be unsigned.
25 * routemap.{c,h}: const char updates
26 * smux.{c,h}: ditto
paul9076fbd2004-10-11 09:40:58 +000027
paul9035efa2004-10-10 11:56:56 +0000282004-10-10 Paul Jakma <paul@dishone.st>
paul47ca2952004-10-10 08:03:18 +000029
30 * version.h.in: (pid_output*) add const qualifier.
paul9035efa2004-10-10 11:56:56 +000031 * command.h: Change DEFUN func to take const char *[] rather
32 than char **, to begin process of fixing compile warnings in lib/.
33 Nearly all other changes in this commit follow from this change.
34 * buffer.{c,h}: (buffer_write) pointer-arithmetic is gccism, take
35 const void * and cast an automatic const char *p to it.
36 (buffer_putstr) add const
37 * command.c: (zencrypt) const qualifier
38 (cmd_execute_command_real) ditto
39 (cmd_execute_command_strict) ditto
40 (config_log_file) ditto.
41 Fix leak of getcwd() returned string.
42 * memory.{c,h}: Add MTYPE_DISTRIBUTE_IFNAME for struct dist ifname.
43 * distribute.{c,h}: Update with const qualifier.
44 (distribute_free) use MTYPE_DISTRIBUTE_IFNAME
45 (distribute_lookup) Cast to char *, note that it's ok.
46 (distribute_hash_alloc) use MTYPE_DISTRIBUTE_IFNAME.
47 (distribute_get) Cast to char *, note that it's ok.
48 * filter.c: Update with const qualifier.
49 * if.{c,h}: ditto.
50 * if_rmap.{c,h}: ditto.
51 (if_rmap_lookup) Cast to char *, note that it's ok.
52 (if_rmap_get) ditto.
53 * log.{c,h}: Update with const qualifier.
54 * plist.{c,h}: ditto.
55 * routemap.{c,h}: ditto.
56 * smux.{c,h}: ditto. Fix some signed/unsigned comparisons.
57 * sockopt.c: (getsockopt_cmsg_data) add return for error case.
58 * vty.c: Update with const qualifier.
59
hasso27a43a82004-10-08 06:29:12 +0000602004-10-08 Hasso Tepper <hasso at quagga.net>
61
62 * routemap.c, routemap.h: Make some string arguments const.
63
paul5973ee72004-10-08 01:36:54 +0000642004-10-05 Paul Jakma <paul@dishone.st>
65
66 * version.h.in: print_version declaration is here, not in automake
67 generated version.h.
68
hassoea8e9d92004-10-07 21:32:14 +0000692004-10-08 Hasso Tepper <hasso at quagga.net>
70
71 * command.c, command.h: Make argument of cmd_make_strvec function
72 const.
73 * command.c: Make hostname commands usable in vtysh again.
74
hasso6ad96ea2004-10-07 19:33:46 +0000752004-10-07 Hasso Tepper <hasso at quagga.net>
76
77 * command.c, pid_output.c, print_version.c, vty.c, vty.h: Make more
78 strings const.
79
hasso8c328f12004-10-05 21:01:23 +0000802004-10-05 Hasso Tepper <hasso at quagga.net>
81
82 * *.[c|h]: Make many strings cons and a lot of int -> unsigned int
83 changes to fix warnings.
84
paul96e27c92004-10-05 14:33:43 +0000852004-10-05 Paul Jakma <paul@dishone.st>
86
87 * sockopt.{c,h}: add sockopt_iphdrincl_swab_{htosys,systoh},
88 functions to change byte order between system IP_HDRINCL order
89 and host order.
paul98c91ac2004-10-05 14:57:50 +000090 * thread.c: (funcname_thread_add_timer_timeval) new function, add
91 timer at specified timeval.
92 (funcname_thread_add_timer) use funcname_thread_add_timer_timeval.
93 (funcname_thread_add_timer_msec) ditto
paul96e27c92004-10-05 14:33:43 +000094
hassob04c6992004-10-04 19:10:31 +0000952004-10-04 Hasso Tepper <hasso at quagga.net>
96
97 * memory.c, memory.h: Make char * argument of strdup functions const.
98 * prefix.c, prefix.h: Make many arguments const. Reorder stuff in
99 header.
100 * log.h: Make log message const in struct message.
101 * log.c: Fix some indenting.
102 * network.c, network.h: Make second argument of writen() const.
103
hassoe7168df2004-10-03 20:11:32 +00001042004-10-03 Hasso Tepper <hasso at quagga.net>
105
106 * command.h: Introduce SERVICE_NODE for "service <...>" commands.
107 * command.c: Don't initialize commands that don't make sense if vtysh
108 is used.
109 * vty.c: Make VTY_NODE appear in vtysh.
110
hasso18a6dce2004-10-03 18:18:34 +00001112004-10-03 James R. Leu <jleu at mindspring.com>
112
113 * zclient.c, zclient.h: zclient functions for router id handling.
114 * zebra.h: New message types for router id handling.
115
paul9172ee02004-09-27 12:46:37 +00001162004-09-27 Paul Jakma <paul@dishone.st>
117
118 * zebra.h: Add WANT_OSPF_WRITE_FRAGMENT for ospfd
119 to try to fragment oversized packets. Enabled only for Linux.
120 Add HAVE_IP_HDRINCL_BSD_ORDER to define struct ip byte order,
121 to consolidate various ad-hoc platform defines for same thing.
122
hassoe473b032004-09-26 16:08:11 +00001232004-09-26 Hasso Tepper <hasso at quagga.net>
124
125 * vty.c, sockopt.c: Fix compiler warnings.
126
hasso52dc7ee2004-09-23 19:18:23 +00001272004-09-23 Hasso Tepper <hasso at quagga.net>
128
129 * linklist.h: Remove list and listnode typedefs.
130 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
131
paul0b3acf42004-09-17 08:39:08 +00001322004-09-17 Paul Jakma <paul@dishone.st>
133
paulb89e60c2004-09-21 15:43:13 +0000134 * sockopt.c: Add missing bracket
135
1362004-09-17 Paul Jakma <paul@dishone.st>
137
paul0b3acf42004-09-17 08:39:08 +0000138 * sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd.
139
paul33394762004-09-13 11:27:57 +00001402004-09-13 Paul Jakma <paul@dishone.st>
141
142 * command.c: Update the copyright string in the default motd.
143
gdt630e4802004-08-31 17:28:41 +00001442004-08-31 David Wiggins <dwiggins@bbn.com>
145
146 * hash.c (hash_iterate): Save next pointer before calling
147 procedure, so that iteration works even if the called procedure
148 deletes the hash backet.
149
150 * linklist.h (listtail): new macro, not yet used.
151
hasso34553cc2004-08-27 13:56:39 +00001522004-08-27 Hasso Tepper <hasso at quagga.net>
153
154 * command.c: Install "terminal length" commands only if vty is used.
155 Vtysh will handle it itself.
156
gdtafa43b22004-08-26 13:12:41 +00001572004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
158
159 * sockopt.h: Define method-independent macro for callers of
160 get_ifindex to use for cmsg length.
161
paule6822762004-08-19 04:13:29 +00001622004-08-19 Paul Jakma <paul@dishone.st>
163
paulefba6ce2004-08-25 13:47:16 +0000164 * zebra.h: add MAX and MIN defines (eg for ospf6d)
165
1662004-08-19 Paul Jakma <paul@dishone.st>
167
paule6822762004-08-19 04:13:29 +0000168 * sockopt.c: include sockopt.h
169 rename some of the _pktinfo_ functions to _ifindex, where that is
170 their purpose.
171 (getsockopt_ipv6_pktinfo_ifindex) renamed to
172 getsockopt_ipv6_ifindex.
173 (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex
174 (setsockopt_pktinfo) update with previous and add comment re
175 AF_INET portability.
176 (setsockopt_ifindex) generic ifindex function ala
177 setsockopt_pktinfo.
178 (getsockopt_ipv4_pktinfo_ifindex) renamed to
179 getsockopt_ipv4_ifindex.
180 (getsockopt_ipv4_ifindex) rejiggling to reduce repeated
181 ifdef/elses. pktinfo case forgot to set ifindex.
182 (getsockopt_pktinfo_ifindex) renamed to
183 getsockopt_ifindex. update some calls to renamed functions.
184 * sockopt.h: Update renamed exported functions
185 Rename the CMSG_SIZE macros to IFINDEX.
186 Guard IPv4 PKTINFO in a conditional define.
187
paulc0618de2004-08-18 21:52:58 +00001882004-08-18 Paul Jakma <paul@dishone.st>
189
190 * vty.c: (vty_serv_un) set unix vty socket to nonblocking
191 to prevent inadvertent blocking of daemons by use of
192 vtysh. TODO: disentangle manual paging from the buffer_write
193 path so that unix vty can use this path too and be reliable.
194
gdt33f92322004-07-23 16:14:32 +00001952004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
196
197 * sockopt.c (getsockopt_ipv4_pktinfo_ifindex): Make this compile
198 on NetBSD, and add comments to make it less confusing. Change the
199 sense of the SUNOS_5 test to make parallel structure between the
200 variables and the code.
201
paul4f7baa02004-07-23 15:11:07 +00002022004-07-23 Paul Jakma <paul@dishone.st>
203
204 * sockopt.h: Add SOPT_SIZE_CMSG_PKTINFO{_IPV{4,6}} define, for
205 sizeof pktinfo as appropriate, to be used when allocating msg
206 buffers. export setsockopt_pktinfo() and
207 getsockopt_pktinfo_ifindex()
208 * sockopt.c: (setsockopt_pktinfo_ifindex) new function to portably
209 set received ifindex sock option.
210 (getsockopt_pktinfo_ifindex) portably retrieve ifindex.
211 (getsockopt_cmsg_data) retrieve indicated control info from
212 message header.
213 (getsockopt_ipv6_pktinfo_ifindex) ipv6 version of above.
214 (setsockopt_ipv4_pktinfo) v4 version
215 (setsockopt_pktinfo) the exported version
216 (getsockopt_ipv4_pktinfo_ifindex) v4 specific version
217 (getsockopt_pktinfo_ifindex) the exported version
218
paul05c447d2004-07-22 19:14:27 +00002192004-07-14 Paul Jakma <paul@dishone.st>
220
221 * sigevent.c: (quagga_signal_handler) add a global caught flag, set
222 the flags to a constant rather increment to be kinder.
223 (quagga_sigevent_process) new function, to do core of what
224 quagga_signal_timer did. dont block signals at all as sig->caught
225 is volatile sig_atomic_t and should be safe to access from signal
226 and normal contexts. The signal blocking is unneeded paranoia, but
227 is left intact under an ifdef, should some platform require it.
228 Check global caught flag before iterating through array.
229 (quagga_signal_timer) nearly everything moved to
230 quagga_sigevent_process. Left in under ifdef, in case some
231 platform could use a regular timer check for signals.
232 * sigevent.h: quagga_sigevent_process declaration.
233 * thread.c: (thread_fetch) check for signals at beginning of
234 scheduler loop, check for signals if select returns EINTR.
235
gdtb7797132004-07-13 13:47:25 +00002362004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>
237
238 * sigevent.c: Don't block SIGTRAP and SIGKILL. Blocking SIGTRAP
239 confuses gdb, at least on NetBSD 2.0_BETA, where the block
240 succeeds.
241
paul5510e832004-07-09 14:00:01 +00002422004-07-09 Paul Jakma <paul@dishone.st>
243
244 * Merge Kunihiro's 'show route-map' change and add
245 compatibility aliases for route-map continue
paulb9790b32004-07-09 14:05:47 +0000246 * jhash.{c,h}: New files. Bob Jenkins' public domain hashing
247 function, as implemented in linux kernel by David Miller.
paul5510e832004-07-09 14:00:01 +0000248
paulb06c14f2004-07-09 12:24:42 +00002492004-07-09 Juris Kalnins <juris@mt.lv>
250
251 * if.c: (if_cmp_func) fix for interface names where name is same,
252 but one has no number, eg "devtyp" and "devtyp0".
253
gdt87efd642004-06-30 17:36:11 +00002542004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
255
256 * Makefile.am: Make libzebra shared.
257
paul138ce752004-06-21 10:35:59 +00002582004-06-21 Paul Jakma <paul@dishone.st>
259
260 * ChangeLog: fix my last update config.h -> zebra.h ;)
261 * zebra.h: Fix gcc check.
262
paul02ff83c2004-06-11 11:27:03 +00002632004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
264
265 * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast
266 to u_char. (ipv6_access_list_remark_cmd) ditto.
267 if.c: ditto
268 * network.c: (readn/writen) pointer arg should be type u_char.
269 * plist.c: needs to include stream.h, not declare stream functions
270 internally.
271 (various) Add static qualifier to internal functions.
272 (prefix_list_type_str) extraneous breaks in switch statement.
273 (ip_prefix_list_description_cmd) buffer_putstr doesnt need cast
274 * stream.h: depends on plist.h and export stream_put_prefix
275 * vty.c: (vty_<telnet option build functions>) should use
276 unsigned char, telnet options are 0 -> 255.
277 * zclient.c: various u_char<->char type cleanups.
278 * zebra.h: Having to define CMSG_* can apply to more than just
279 BSDI_NRL.
280
paul51a87982004-06-09 10:36:05 +00002812004-06-09 Paul Jakma <paul@dishone.st>
282
paul138ce752004-06-21 10:35:59 +0000283 * zebra.h: __attribute__ is a gcc'ism
paul51a87982004-06-09 10:36:05 +0000284
paul5228ad22004-06-04 17:58:18 +00002852004-06-04 Paul Jakma <paul@dishone.st>
286
287 * type mismatch fixes
288
hasso6708fa32004-05-18 18:46:54 +00002892004-05-18 Hasso Tepper <hasso@estpak.ee>
290
291 * pqueue.[c|h]: Added as part of ospf6d merge from Zebra repository.
292
paul0a589352004-05-08 11:48:26 +00002932004-05-08 Paul Jakma <paul@dishone.st>
294
295 * zclient.c (zapi_ipv4_route) Follow Sowmini's lead and describe
296 message format.
297
2982004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
299
300 * zclient.c: (zapi_ipv4_add) collapsed into zapi_ipv4_route
301 (zapi_ipv4_delete) ditto.
302 (zapi_ipv4_route) add/delete a route by way of cmd arg.
303 (zapi_ipv6_add) collapsed into zapi_ipv6_route.
304 (zapi_ipv6_delete) ditto.
305 (zapi_ipv6_route) add/delete a route by way of cmd arg.
306 (zebra_interface_address_delete_read) collapsed into
307 zebra_interface_address_read.
308 (zebra_interface_address_delete_read) ditto.
309 (zebra_interface_address_read) read address add/delete messages
310 by way of type argument. Describe command message format.
311 (zebra_interface_add_read) Unconditionally read new ifmtu6 field.
312 Describe command message format.
313 (zebra_interface_state_read) Unconditionally read new ifmtu6 field.
314 (zclient_redistribute_set) Collapsed into zclient_redistribute
315 (zclient_redistribute_unset) ditto
316 (zclient_redistribute) set/unset redistribution.
317 (zclient_redistribute_default_set) Collapsed into
318 zclient_redistribute_default.
319 (zclient_redistribute_default_unset) ditto.
320 (zclient_redistribute_default) Redistribute default set/unset.
321 * zclient.h: delete zapi_ipv{4,6}_add, zapi_ipv{4,6}_delete. Add
322 zapi_ipv{4,6}_route. delete zclient_redistribute_set/unset. Add
323 zclient_redistribute. Ditto for
324 zclient_redistribute_default_{set/unset}.
325
paul4a7aac12004-05-08 05:00:31 +00003262004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
327
328 * if.h: Add mtu6 field to struct interface, IPv6 MTU may differ
329 from IPv4, and Solaris treats the MTU's differently.
330 Add connected_add_by_prefix, for use by later patch.
331 * if.c: (connected_add_by_prefix) Add prefix to connected list.
332 (if_flag_dump) Solaris: Dump IFF_IPv4/6 flag
333 (if_dump) Dump mtu6 flag, for HAVE_IPV6.
paul22528292004-05-08 05:10:38 +0000334 * command.c: (sockunion_getsockname) use socklen_t for len.
335 (sockunion_getpeername) ditto.
paul0a589352004-05-08 11:48:26 +0000336
paul31fcdd32004-04-21 11:00:43 +00003372004-04-21 Boris Kovalenko <boris@tagnet.ru>
338
339 * daemon.c: (daemon) fix check for error return from setsid
340
paulc49b3062004-01-19 21:23:37 +00003412004-01-19 Paul Jakma <paul@dishone.st>
342
343 * sigevent.{c,h}: New files, implement event handled signals.
344 see signal_init() in sigevent.h.
345
jardinc32e1b52003-12-23 09:06:51 +00003462003-12-23 Vincent Jardin <jardin@6wind.com>
347
348 * {command.c, memory.c, vty.c, zebra.h}: Add isisd support
349
gdt3dbf9962003-12-22 20:18:18 +00003502003-12-22 Greg Troxel <gdt@fnord.ir.bbn.com>
351
352 * vty.c (vty_use_backup_config): Don't free filenames before using
353 them for unlink.
354
paul54aba542003-08-21 20:28:24 +00003552003-08-20 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
356
357 * command.c: Fix <cr> display problem for command line
358 description
359
paule9af5c72003-05-24 11:54:31 +00003602003-05-24 Anil Madhavapeddy
361
362 * (sockunion.c): Incorrect bounds specified in sockunion_log()
363
paul445f1432003-05-16 19:00:31 +00003642003-05-08 Sergiy Vyshnevetskiy <serg @ vostok.net>
365
366 * vty.c: -A option
367
3682003-04-19 Hasso Tepper <hasso@estpak.ee>
369
370 * rip_routemap.c: sync daemon's route-map commands to have same
371 syntax
372
paul718e3742002-12-13 20:15:29 +00003732002-09-28 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
374
375 * vty.c (vty_flush): One line more on vty.
376
3772002-09-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
378
379 * vector.c (vector_lookup): Add new function.
380
3812002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
382
383 * thread.c (timeval_adjust): Fix unconditional crush due to
384 FreeBSD's select() system call timeval value check.
385
3862002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
387
388 * zebra-0.93 released.
389
3902002-06-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
391
392 * if.c (ifc_pointopoint): Add ifc_pointopoint() accoding to Frank
393 van Maarseveen's suggestion.
394
3952002-06-18 Kunihiro Ishiguro <kunihiro@zebra.org>
396
397 * command.c: Change bcopy() to memcpy().
398
3992001-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
400
401 * command.c (config_password): Fix host.password clear bug.
402 Reported by Wang Jian <lark@linux.net.cn>.
403
4042001-08-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
405
406 * thread.c (thread_should_yield): New function to check thread
407 should yeild it's execution to other thread. Suggested by: Rick
408 Payne <rickp@ayrnetworks.com>
409
4102001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
411
412 * thread.c (thread_timer_cmp): Rewrite function.
413
414 * hash.c: Add hash_get(). Change hash_pull() to hash_release().
415
4162001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
417
418 * zebra-0.92a released.
419
4202001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
421
422 * zebra-0.92 released.
423
4242001-08-12 Akihiro Mizutani <mizutani@dml.com>
425
426 * prefix.c (netmask_str2prefix_str): Convert "1.1.0.0 255.255.0.0"
427 string to "1.1.0.0/16".
428
4292001-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
430
431 * filter.c (access_list_lookup): access_list_lookup's first
432 argument is changed from address family to AFI.
433
434 * plist.c: (prefix_list_lookup): Likewise.
435
4362001-07-27 Akihiro Mizutani <mizutani@dml.com>
437
438 * plist.c: ge and le display order is changed. Old compatible
439 rule (len <= ge-value <= le-value) is removed.
440
4412001-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
442
443 * prefix.h: Temporary fix for alignment of prefix problem.
444
4452001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
446
447 * prefix.h (struct prefix): Remove safi and padding field.
448 (struct prefix_ipv4): Likewise.
449 (struct prefix_ipv6): Likewise.
450 (struct prefix_ls): Likewise.
451 (struct prefix_rd): Likewise.
452
453 * command.h (enum node_type): Preparation for BGP new config.
454
455 * vty.c (vty_end_config): Likewise.
456
4572001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
458
459 * routemap.c (route_map_rule_delete): Call func_free when
460 route-map rule is deleted.
461
4622001-06-14 "Akihiro Mizutani" <mizutani@dml.com>
463
464 * routemap.c (route_map_index_lookup): Prevent to use deny and
465 permit for same route-map sequence.
466
4672001-04-12 Kunihiro Ishiguro <kunihiro@zebra.org>
468
469 * vty.c (vty_read_config): Fix warning.
470
4712001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
472
473 * command.c (IPV6_PREFIX_STR): Add '.' and '%' for IPv6 address
474 strings.
475
4762001-03-07 Kunihiro Ishiguro <kunihiro@zebra.org>
477
478 * zebra.h (_XPG4_2): Define _XPG4_2 and __EXTENSIONS__ for
479 CMSG_FIRSTHDR.
480
4812001-03-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
482
483 * zebra.h (struct in_pktinfo): structure in_pktinfo declaration.
484
4852001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
486
487 * memory.c (memory_list_lib): Add MTYPE_NEXTHOP for "show memory
488 lib" member.
489
4902001-02-13 Matthew Grant <grantma@anathoth.gen.nz>
491
492 * vty.c (vty_read_config): Revert check of integrate_default when
493 VTYSH is defined.
494
4952001-02-13 Kunihiro Ishiguro <kunihiro@zebra.org>
496
497 * vty.c (vty_read_config): Do not check integrate_default. That
498 should be used only by vtysh.
499
5002001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
501
502 * vty.c (vty_serv_un): Set umask 0077.
503 (vty_read_config): Stat for vtysh Zebra.conf, if found startup and
504 wait for boot configuration.
505
506 * if.c (if_lookup_address): Make it smart implementation.
507
508 * sockopt.c (setsockopt_multicast_ipv4): Set up a multicast socket
509 options for IPv4 This is here so that people only have to do their
510 OS multicast mess in one place rather than all through zebra,
511 ospfd, and ripd .
512
5132001-02-04 Akihiro Mizutani <mizutani@dml.com>
514
515 * plist.c (vty_prefix_list_install): Even when argument is
516 invalid, new memory is allocated. Now memory allocation is done
517 after argument check.
518
5192001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
520
521 * zebra-0.91 is released.
522
5232001-01-31 Akihiro Mizutani <mizutani@dml.com>
524
525 * vty.c (vty_login): Add vty login command.
526
5272001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
528
529 * vty.c (vty_reset): Close accept socket.
530
5312001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
532
533 * memory.h (enum): MTYPE_ATTR_TRANSIT is added for unknown transit
534 attribute.
535
5362001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
537
538 * zclient.c (zebra_interface_address_add_read): Fetch interface
539 address flag.
540 (zebra_interface_address_delete_read): Likewise.
541
5422001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
543
544 * table.c (route_node_match_ipv4): Utility function for IPv4
545 address lookup.
546 (route_node_match_ipv6): Utility function for IPv4 address lookup.
547
5482001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
549
550 * if.c: Delete RIP_API part until new implementation comes out.
551
5522001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
553
554 * hash.h (struct Hash): Rename alloc to count. Change type to
555 unsigned long.
556
557 * stream.c (stream_getc_from): New function.
558 (stream_getw_from): Likewise.
559
560 * zebra.h (ZEBRA_FLAG_STATIC): Add new flag for persistent route.
561
5622001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
563
564 * flap.c: File is removed.
565
566 * flap.c: Likewise.
567
568 * roken.h: Likewise.
569
570 * buffer.c (buffer_new): Remove type option to buffer_new().
571
5722001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
573
574 * zclient.c (zapi_ipv4_delete): Remove OLD_RIB part.
575
5762001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
577
578 * zebra-0.90 is released.
579
580 * command.c: Update Copyright year.
581
5822001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
583
584 * if.c (if_create): Register connected_free() function for
585 deletion.
586 (if_delete): Free connected information when the interface is
587 deleted.
588 (if_lookup_by_index): Fix argument type from int to unsigned int.
589 (connected_add): Keep list in order if old info found, essential
590 for repeatable operation in some daemons.
591
5922001-01-09 endo@suri.co.jp (Masahiko Endo)
593
594 * vty.c (vty_flush): When vty->statis is VTY_CLOSE do not add vty
595 read thread.
596
5972001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
598
599 * filter.c (access_list_delete): Access-list name is not freed.
600
601 * plist.c (prefix_list_delete): Prefix-list name is not freed.
602
6032000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
604
605 * zclient.c (zclient_start): Change to use UNIX domain
606 socket for zebra communication.
607
608 * vector.c (vector_init): vector_alloc and vector_data_alloc is
609 removed. All memory allocation count should be maintained by
610 XMALLOC and XFREE macros.
611
6122000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
613
614 * zebra.h (ZEBRA_NEXTHOP_IFINDEX): Define ZEBRA_NEXTHOP_* values.
615
6162000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
617
618 * zebra.h (ZEBRA_ERR_RTEXIST): Make zebra error code to negative
619 value.
620
6212000-12-25 "Wataru Uno" <wataru@po.ntts.co.jp>
622
623 * vty.c (vtysh_read): Don't allocate new buffer because buffer is
624 allocated in vty_new ().
625
6262000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
627
628 * memory.h (enum): Add MTYPE_AS_FILTER_STR.
629
630 * command.c (config_write_terminal): Display "end" at the end of
631 configuration.
632
633 * plist.c (vty_prefix_list_install): Use AF_INET to determine
634 lenum length.
635
6362000-12-13 "Wataru Uno" <wataru@po.ntts.co.jp>
637
638 * buffer.c (buffer_flush_vty): If IOV_MAX defined in the System,
639 then all lines write by IOV_MAX.
640
6412000-12-12 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
642
643 * command.c (config_write_file): Robust method for writing
644 configuration file and recover from backing up config file.
645
6462000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
647
648 * smux.c (smux_connect): More fail check.
649 (smux_trap): When SMUX connection is not established, do nothing.
650
6512000-11-28 Gleb Natapov <gleb@nbase.co.il>
652
653 * thread.c (thread_fetch): Execut event list first. Old event
654 list is renamed to ready list. With this change, event thread is
655 executed before any other thread.
656
657 * thread.h (struct thread_master): Add ready list.
658
6592000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
660
661 * linklist.c (listnode_add_after): Add node right after the
662 listnode pointer.
663
6642000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
665
666 * smux.h: Pass struct variable to WriteMethod.
667
6682000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
669
670 * if.c (if_lookup_address): When looking up interface with IP
671 address, Sometimes multiple interfaces will match. Now PtP
672 interfaces prevail in such a case which seem the right thing to
673 do: There will probably also be host routes which usually prevail
674 over network routes.
675
6762000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
677
678 * smux.c (smux_trap): SMUX trap implementation.
679
6802000-11-19 Akihiro Mizutani <mizutani@dml.com>
681
682 * plist.c: Add automatic conversion function of an old rule.
683 ex.) 10.0.0.0/8 ge 8 -> 10.0.0.0/8 le 32
684
6852000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
686
687 * zclient.c (zebra_interface_add_read): Read hardware address when
688 hw_addr_len is greater than 0.
689
6902000-11-15 Akihiro Mizutani <mizutani@dml.com>
691
692 * plist.c: The rule of "len <= ge-value <= le-value"
693 was changed to "len < ge-value <= le-value".
694
6952000-11-09 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
696
697 * memory.[ch]: Added #define and functions for ospf6d.
698
699 * log.[ch]: some platform says that the data of used va_list
700 is undefined. Changed to hold list of va_list for each
701 vsnprintf.
702
7032000-11-07 Rick Payne <rickp@rossfell.co.uk>
704
705 * memory.h (enum): Add MTYPE_COMMUNITY_REGEXP.
706
7072000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
708
709 * command.c (config_exit): Fix bug of missing break after case
710 BGP_VPNV4_NODE.
711
7122000-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
713
714 * vector.c (vector_unset): Check i is not nevative.
715
7162000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
717
718 * smux.c (smux_sock): Set terminating '\0'. Check address family.
719
720 * vty.c (vty_serv_sock_addrinfo): Set terminating '\0'. Use
721 gai_strerror. Check address family.
722
7232000-10-23 Jochen Friedrich <jochen@scram.de>
724
725 * smux.c: Use linklist rather than vector.
726 (smux_getnext): A SMUX subagent has to behave as if it manages the
727 whole SNMP MIB tree itself. It's the duty of the master agent to
728 collect the best answer and return it to the manager. See RFC 1227
729 chapter 3.1.6 for the glory details :-). ucd-snmp really behaves
730 bad here as it actually might ask multiple times for the same
731 GETNEXT request as it throws away the answer when it expects it in
732 a different subtree and might come back later with the very same
733 request.
734
7352000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
736
737 * command.c (cmd_init): Log related command are only installed for
738 terminal mode.
739
7402000-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
741
742 * Makefile.am (libzebra_a_SOURCES): Remove duplicated buffer.c.
743
744 * zebra.h: Remove #warn directive.
745
7462000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
747
748 * keychain.c (keychain_init): Register "key chain" command to
749 KEYCHAIN_NODE and KEYCHAIN_KEY_NODE.
750
751 * vty.c (vty_end_config): Fix missing vty_cinfig_unlock for other
752 CONFIG_NODE.
753
754 * command.c (config_end): Likewise.
755
756 * keychain.c (keychain_get): Key is sorted by it's identifier
757 value.
758
7592000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
760
761 * linklist.c (list_delete_all_node): Call delete function if it is
762 defined.
763
764 * command.c (cmd_execute_command_strict): Add modification for
765 vtysh.
766 (cmd_execute_command_strict): Remove first argument cmdvec because
767 it is global varibale in command.c.
768
7692000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
770
771 * command.c (cmd_init): Install
772 copy_runningconfig_startupconfig_cmd only in terminal mode.
773
774 * linklist.c (list_delete_node): Simplify the function.
775 (listnode_lookup): Renamed from list_lookup_node.
776
7772000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
778
779 * stream.h: Undef stream_read and stream_write without
780 parenthesis.
781
782 * newlist.c: File removed.
783
784 * newlist.h: Likewise.
785
786 * linklist.c (list_new): Remove list_init(). To allocate new
787 linked list, please use list_new().
788 (listnode_add): Remove list_add_node(). To add new node to linked
789 list, please use listnode_add().
790 (list_delete_by_val): Revemove fucntion.
791
7922000-10-16 Nobuaki Tanaka <nobby@po.ntts.co.jp>
793
794 * table.c (route_table_free): Reimplement route_table_free().
795
7962000-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
797
798 * keychain.c (keychain_get): Register key_delete_func to key
799 list's delete function. Use linklist.c instead of newlist.c.
800
8012000-10-04 Akihiro Mizutani <mizutani@dml.com>
802
803 * filter.c (access_list_remark): Add access-list's remark command.
804 (no_access_list): "no access-list 100 permit any" error message
805 bug is fixed.
806
8072000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
808
809 * memory.h (enum): Add MTYPE_SOCKUNION.
810
8112000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
812
813 * zebra-0.89 is released.
814
8152000-10-01 Kunihiro Ishiguro <kunihiro@zebra.org>
816
817 * linklist.c (list_add_node_head): Delete unused function.
818 (list_add_node_tail): Likewise.
819
8202000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
821
822 * stream.c (stream_read_unblock): Add new function for unblocking
823 read.
824
8252000-09-26 Jochen Friedrich <jochen@nwe.de>
826
827 * smux.c (smux_register): Fix bug of can't register more than one
828 MIB with SMUX.
829
8302000-09-26 Makoto Otsuka <otsuka@inl.ntts.co.jp>
831
832 * vty.c (vty_close): Fix memory leak of sb_buffer.
833 (vty_new): Likewise.
834
8352000-09-21 steve@Watt.COM (Steve Watt)
836
837 * log.h: Do not declare zlog_priority[0] variable.
838
8392000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
840
841 * linklist.h (struct _list ): Add member cmp for compare function.
842 (struct _list ): Member up is deleted
843
8442000-09-12 David Lipovkov <dlipovkov@OpticalAccess.com>
845
846 * if.c: Include RIP_API header when RIP API is enabled.
847
8482000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
849
850 * prefix.c (prefix_free): Siplify prefix_free().
851
852 * keychain.c (key_match_for_accept): strncmp check bug is fixed.
853
8542000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
855
856 * zebra.h: Merge roken.h into zebra.h.
857
8582000-09-05 Akihiro Mizutani <mizutani@dml.com>
859
860 * routemap.c (route_map_init_vty): Install route-map command to
861 RMAP_NODE.
862
8632000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
864
865 * thread.c (thread_get_id): Remove pthread related garbage.
866
867 * command.h (struct host): Likewise.
868
869 * zebra.h: Likewise.
870
8712000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
872
873 * command.h (node_type ): Add AAA node for authentication.
874
875 * vty.c (vty_close): Do not close stdout.
876
8772000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
878
879 * vty.c (vty_init_vtysh): Added for vtysh.
880
881 * distribute.c (districute_list_prefix_all): Interface independent
882 filter can be set.
883 (distribute_list_all): Likewise.
884 (config_show_distribute): Display current distribute-list status
885 for "show ip protocols".
886
8872000-08-18 Akihiro Mizutani <mizutani@dml.com>
888
889 * command.c (config_terminal_no_length): no terminal monitor ->
890 terminal no monitor
891 (cmd_init): Do not install service_terminal_length_cmd into
892 ENABLE_NODE.
893
894 * vty.c (terminal_no_monitor): no terminal length -> terminal no
895 length.
896
8972000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
898
899 * zebra-0.88 is released.
900
9012000-08-17 Magnus Ahltorp <ahltorp@nada.kth.se>
902
903 * vty.h (struct vty ): Add iac_sb_in_progress and sb_buffer for
904 better IAC handling.
905
906 * vty.c (vty_telnet_option): Change telnet option handling.
907
9082000-08-15 Gleb Natapov <gleb@nbase.co.il>
909
910 * zclient.c (zclient_redistribute_unset): New function added.
911
9122000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
913
914 * zclient.c (zebra_interface_add_read): Change ifindex restore
915 size from two octet to four.
916 (zebra_interface_state_read): Likewise.
917 (zebra_interface_address_add_read): Likewise.
918
9192000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
920
921 * vty.c (vty_event): Use vector_set_index() instead of
922 vector_set().
923
9242000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
925
926 * zebra.h (ZEBRA_XXX_DISTANCE_DEFAULT): Define Default
927 Administrative Distance of each protocol.
928
9292000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
930
931 * if.h (struct interface ): Add new member bandwidth to struct
932 interface.
933
934 * zclient.c (zebra_interface_add_read): Fetch bandwidth value.
935 (zebra_interface_state_read): Likewise.
936
9372000-08-07 Gleb Natapov <gleb@nbase.co.il>
938
939 * routemap.c (route_map_event_hook): New hook route_map_event_hook
940 is added. This hook is called when route-map is changed. The
941 parameters passed to the hook are 'event' and 'route-map name'
942
943 * routemap.h: Add prototype for route_map_event_hook().
944
9452000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
946
947 * zclient.c (zebra_ipv4_route): zebra_ipv4_route(),
948 zebra_ipv4_add(), zebra_ipv4_delete() are removed.
949
950 * routemap.c (route_map_empty): Add new function.
951 (route_map_delete): Use route_map_index_delete() instead of
952 route_map_index_free().
953 (route_map_index_free): Function removed.
954
9552000-08-06 Gleb Natapov <gleb@nbase.co.il>
956
957 * routemap.c (route_map_index_delete): Add check for route-map is
958 empty or not.
959
9602000-08-03 Kunihiro Ishiguro <kunihiro@zebra.org>
961
962 * zclient.c (zebra_ipv4_add): Change socket arguemnt with struct
963 zclient.
964
9652000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
966
967 * zclient.h (struct zebra): Add obuf for output buffer.
968
969 * if.c: Remove #ifdef NRL enclosing if_nametoindex() and
970 if_indextoname().
971
9722000-08-02 David Lipovkov <davidl@nbase.co.il>
973
974 * if.h (IF_PSEUDO_UNSET): IF_PSEUDO related macro added.
975 (IF_UNKNOWN_SET): IF_UNKNOWN related macro deleted.
976
977 * if.c (interface_pseudo): Add "pseudo" command to interface node.
978 (no_interface_pseudo): Add "no pseudo" command to interface node.
979
980 * zclient.c (zebra_interface_add_read): Set pseudo flag when it is
981 send from zebra.
982
9832000-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
984
985 * zebra.h (ZEBRA_IPV4_NEXTHOP_LOOKUP): Add new message.
986 (ZEBRA_IPV6_NEXTHOP_LOOKUP): Likewise.
987
988 * vty.c (vty_serv_un): Use AF_UNIX for backward compatibility.
989
9902000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
991
992 * vty.c: Use vector for VTY server thread listing instead of
993 single value.
994
9952000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
996
997 * keychain.c (no_key_chain): "no key chain WORD" command is added.
998
9992000-07-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1000
1001 * command.c (config_from_file): If command fail in
1002 KEYCHAIN_KEY_NODE, down to KEYCHAIN_NODE.
1003
1004 * vty.h (struct vty ): Add index_sub member.
1005
10062000-07-27 Akihiro Mizutani <mizutani@dml.com>
1007
1008 * if.c: Help strings updates.
1009
10102000-07-11 Akihiro Mizutani <mizutani@dml.com>
1011
1012 * command.c (no_config_enable_password): Add "no enable password"
1013 command.
1014 (config_write_host): Display password string.
1015
1016 * routemap.c (route_map_delete_match): Add support for delete
1017 match without argument.
1018 (route_map_delete_set): Likewise.
1019
10202000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1021
1022 * command.h (node_type ): Change KEYCHAIN_NODE and
1023 KEYCHAIN_KEY_NODE place just before INTERFACE_NODE.
1024
10252000-07-09 Jochen Friedrich <jochen@scram.de>
1026
1027 * smux.c (config_write_smux): Fixes the option to override OID and
1028 password for SMUX.
1029
10302000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1031
1032 * command.h (node_type ): Add SMUX_NODE for SMUX configuration.
1033
10342000-07-09 Toshiaki Takada <takada@zebra.org>
1035
1036 * command.c: Sort descvec command's help.
1037
1038 * vty.c (vty_describe_command): Display '<cr>' at the end of
1039 descriptions.
1040
10412000-07-05 Toshiaki Takada <takada@zebra.org>
1042
1043 * command.c (cmd_ipv6_match), (cmd_ipv6_prefix_match): Fix bug
1044 treatment of double colon.
1045
10462000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1047
1048 * zclient.h: Add zclient_redistribute_default_{set,unset}().
1049
1050 * keychain.c: New file for authentication key management.
1051 * keychain.h: Likewise.
1052
1053 * tcpfilter.c: New file for TCP/UDP base filtering using ipfw or
1054 ipchains.
1055 * tcpfilter.h: Likewise.
1056
1057 * flap.h: New file for route flap dampening.
1058 * flap.c: Likewise.
1059
10602000-07-04 Toshiaki Takada <takada@zebra.org>
1061
1062 * filter.c (struct filter): Add exact flag.
1063 (access_list): Add exact-match command.
1064 (ipv6_access_list): Add exact-match command.
1065
10662000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1067
1068 * zebra.h (ZEBRA_REDISTRIBUTE_DEFAULT_ADD): New message for
1069 request default route.
1070
10712000-07-01 Hideaki YOSHIFUJI ($B5HF#1QL@(B) <yoshfuji@ecei.tohoku.ac.jp>
1072
1073 * smux.c: Add IPv6 smux connection code.
1074
10752000-06-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1076
1077 * vty.c (vty_complete_command): To cooperate readline library,
1078 returned string is newly allocated. So some match function case
1079 need, free of memory.
1080
10812000-06-12 Akihiro Mizutani <mizutani@dml.com>
1082
1083 * distribute.c: Fix help strings.
1084
10852000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1086
1087 * command.c (cmd_complete_command): Add check for vector_slot
1088 (vline, index) is not NULL when calculating lcd.
1089 (cmd_entry_function): First check variable arguemnt to prevent it
1090 from completion.
1091
10922000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1093
1094 * vty.h (struct vty ): Add output_count member for displaying
1095 output route count. Remove arugment arg from output_func because
1096 the value is passed by vty argument. Change output to output_rn.
1097 Add output_clean function pointer member. Add output_type member.
1098
10992000-06-10 Toshiaki Takada <takada@zebra.org>
1100
1101 * command.c (show_startup_config): Add "show startup-config"
1102 command.
1103
11042000-06-06 Akihiro Mizutani <mizutani@dml.com>
1105
1106 * filter.c: Fix help strings.
1107
11082000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1109
1110 * prefix.h (struct prefix_rd): New prefix structure for routing
1111 distinguisher.
1112 (struct prefix): Add padding to every prefix structure.
1113
1114
1115 * routemap.c (route_map_add_match): When completely same match
1116 statement exists, don't duplicate it.
1117
11182000-06-05 Akihiro Mizutani <mizutani@dml.com>
1119
1120 * routemap.c: Change NAME to WORD.
1121
1122 * plist.c: Fix help strings.
1123
11242000-06-02 Akihiro Mizutani <mizutani@dml.com>
1125
1126 * routemap.c: Fix route-map help strings.
1127
11282000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1129
1130 * command.c (cmd_filter_by_completion): Fix CMD_VARARG treatment
1131 to filter other non vararg commands.
1132
1133 * routemap.c (route_map_init_vty): Use install_default() for
1134 install common commands into route-map node..
1135
11362000-06-01 Akihiro Mizutani <mizutani@dml.com>
1137
1138 * command.h (OSPF_STR): Macro added.
1139
11402000-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1141
1142 * command.c (cmd_complete_command): LCD completion must not modify
1143 installed command string.
1144
1145 * plist.c (ipv6_prefix_list): Fix wrong syntax definition. Change
1146 X:X::X:X to X:X::X:X/M.
1147
11482000-05-31 Toshiaki Takada <takada@zebra.org>
1149
1150 * vty.c (show_history): New defun added.
1151
11522000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1153
1154 * command.h (CMD_COMPLETE_LIST_MATCH): New define for completion
1155 list. CMD_COMPLETE_MATCH is used for LCD completion.
1156
1157 * vty.c (vty_complete_command): Matched string's LCD is completed.
1158
1159 * command.c (cmd_lcd): New function for calculate LCD of matched
1160 strings.
1161
11622000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1163
1164 * command.c (install_default): config_write_terminal_cmd,
1165 config_write_file_cmd, config_write_memory_cmd are added to
1166 default node.
1167
1168 * memory.c (memory_init): Divide show memory command into each
1169 sort.
1170
1171 * command.c (cmd_init): config_write_terminal_cmd,
1172 config_write_file_cmd, config_write_memory_cmd are added to
1173 CONFIG_NODE.
1174
1175 * routemap.c (route_map_index_free): New function.
1176 (no_route_map_all): New DEFUN for "no route-map NAME".
1177
1178 * filter.c (no_access_list_all): New DEFUN for delete access-list
1179 with NAME.
1180 (no_ipv6_access_list_all): Likewise.
1181
11822000-05-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1183
1184 * plist.c: Change IPV6_PREFIX to X:X::X:X. When "any" is
1185 specified, user can not use "ge" and "le" statement.
1186
11872000-05-22 Thomas Molkenbur <tmo@datus.datus.com>
1188
1189 * routemap.c (route_map_add_set): Fix bug of next pointer missing.
1190
1191 * table.c (route_table_free): Like wise.
1192
11932000-05-22 Toshiaki Takada <takada@zebra.org>
1194
1195 * vty.c (vty_stop_input): Set history pointer to the latest one.
1196
1197 * vty.c (vty_hist_add): Do not add command line history when input
1198 is as same as previous one.
1199
12002000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1201
1202 * memory.h (enum): Add MTYPE_ECOMMUNITY and MTYPE_ECOMMUNITY_VAL.
1203
12042000-05-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1205
1206 * command.h (node_type ): Add BGP_VPNV4_NODE.
1207
12082000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1209
1210 * vty.c (vtysh_accept): Add cast of struct sockaddr * to bind
1211 argument. Reported by: Vesselin Mladenov <mladenov@netbg.com>.
1212
1213 * filter.c (ipv6_access_list): Add IPv6 prefix example instead of
1214 IPv4 example. Reported by: Love <lha@s3.kth.se>.
1215
1216 * command.c (cmd_complete_command): Make it sure last element of
1217 matchvec is NULL. This fix problem which cause crush in
1218 vty_complete_command(). Reported by: JINMEI Tatuya
1219 <jinmei@isl.rdc.toshiba.co.jp>.
1220
12212000-04-28 Love <lha@s3.kth.se>
1222
1223 * prefix.h (struct prefix): Add padding.
1224
12252000-04-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1226
1227 * command.c (show_version): Update copyright year.
1228
12292000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1230
1231 * routemap.c (route_map_apply): When map is NULL, return deny.
1232
12332000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1234
1235 * filter.c (access_list_apply): When access is NULL, return deny.
1236
1237 * plist.c (prefix_list_apply): When plist is NULL, return deny.
1238
12392000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1240
1241 * command.h (node_type ): Change RDISC_NODE to IRDP_NODE.
1242
12432000-04-18 Toshiaki Takada <takada@zebra.org>
1244
1245 * filter.[ch] (access_list_add_hook), (access_list_delete_hook):
1246 Add argument for hook function to give struct access_list *.
1247
12482000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1249
1250 * plist.c (prefix_list_entry_match): In case of le nor ge is
1251 specified, exact match is performed.
1252 (prefix_list_entry_match): Add any entry matching check.
1253
12542000-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1255
1256 * vty.c (exec_timeout): Separate timeout setting to minutes and
1257 seconds.
1258 (no_exec_timeout): Add "no exec-timeout" command.
1259
1260 * vty.h (VTY_TIMEOUT_DEFAULT): Change default value from 300 to
1261 600.
1262
12632000-03-31 Jochen Friedrich <jochen@scram.de>
1264
1265 * smux.h (SMUX_CLOSE): The SMUX_CLOSE PDU is implicit integer, so
1266 it is a primitive encoding and not constructed.
1267
12682000-03-28 Toshiaki Takada <takada@zebra.org>
1269
1270 * memory.[ch] (enum): Add MTYPE_OSPF_EXTERNAL_INFO.
1271
12722000-03-26 Love <lha@s3.kth.se>
1273
1274 * zclient.c (zclient_read): Add nbytes size check for
1275 ZEBRA_HEADER_SIZE. Check return value of steam_read ().
1276
12772000-03-26 Rick Payne <rickp@rossfell.co.uk>
1278
1279 * routemap.c: Add flexible route-map commands such as on-match
1280 next, on-match goto N.
1281
1282 * routemap.h: Likewise
1283
12842000-03-23 Adrian Bool <aid@u.net.uk>
1285
1286 * command.c (config_log_trap): Add new command "log trap
1287 PRIORITY".
1288
12892000-03-14 Toshiaki Takada <takada@zebra.org>
1290
1291 * memory.c (struct memory_list): Add Link List and Link Node
1292 to view.
1293
1294 * memory.h (enum): Remove MTYPE_OSPF_EXTERNAL_ROUTE.
1295
12962000-01-20 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1297
1298 * str.c (snprintf): Fix bug of calling sprintf instead of
1299 vsprintf.
1300
13012000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1302
1303 * memory.h (enum): Add MTYPE_RIP_PEER.
1304
13052000-01-15 Toshiaki Takada <takada@zebra.org>
1306
1307 * memory.h (enum): Add MTYPE_OSPF_CRYPT_KEY.
1308
13092000-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1310
1311 * command.h (node_type ): Add MASC_NODE for masc.
1312
13132000-01-09 Wang Jianliang <wangjl@soim.net>
1314
1315 * routemap.c (route_map_index_add): When route_map_index is not
1316 empty and insert new item at the head, it can cause core dump.
1317 Fix "if (index == map->head)" to "if (point == map->head).
1318 (route_map_add_set): If there is an old set command, override old
1319 set command with new one.
1320 (route_map_index_delete): Use while() instead of for for() for
1321 logical correctness.
1322
13231999-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1324
1325 * memory.h (enum): Add MTYPE_BGP_STATIC.
1326
13271999-12-23 Alex Zinin <zinin@amt.ru>
1328 * zebra.h, zclient.*: dynamic int up/down message
1329 support
1330
13311999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1332
1333 * thread.c (thread_cancel_event): Add a function for clean up
1334 events.
1335
13361999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1337
1338 * dropline.c: Delete file.
1339 dropline.h: Linewise.
1340
13411999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1342
1343 * filter.c (access_list_filter_delete): Wrong pointer
1344 access->master was pointed out after access is freed. I store
1345 master value at the beginning of the function.
1346
13471999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1348
1349 * vty.c (exec_timeout): Change of VTY timeout affect to current
1350 VTY connection.
1351 (vty_accept): Instead of immediate exit() return -1.
1352
13531999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1354
1355 * vty.c (vty_configure_lock): Configuration lock function added.
1356 Only one VTY can use CONFI_NODE at the same time.
1357
1358 * log.c: Delete zvlog_* functions. Now zlog_* does the same
1359 thing.
1360
1361 * log.c (log_init): Function removed.
1362 (log_close): Likewise.
1363 (log_flush): Likewise.
1364 (log_open): Likewise.
1365
1366 * vty.c (terminal_monitor): Add new command.
1367 (no_terminal_monitor): Likewise.
1368
1369 * log.c (old_log): Function removed.
1370 (old_log2): Likewise.
1371 (old_log_warn): Likewise.
1372
13731999-12-04 Toshiaki Takada <takada@zebra.org>
1374
1375 * command.c (cmd_ipv6_match): New function added.
1376 (cmd_ipv6_prefix_match): Likewise.
1377
13781999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1379
1380 * command.c (cmd_ipv6_match):
1381
1382 * table.c: Delete #ifdef HAVE_MBGPV4.
1383
1384 * prefix.h (struct prefix): Add safi member.
1385 (struct prefix_ipv4): Likewise.
1386 (struct prefix_ipv6): Likewise.
1387
13881999-12-04 Rumen Svobodnikov <rumen@linux.tu-varna.acad.bg>
1389
1390 * memory.c (struct mstat): Revert to support MEMORY_LOG.
1391
13921999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1393
1394 * version.h: Bump up to 0.81c for testing new kernel codes.
1395
13961999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1397
1398 * thread.h (struct thread): Pthread support is disabled all
1399 platform.
1400
14011999-11-21 Michael Handler <handler@sub-rosa.com>
1402
1403 * Include <limits.h> and <strings.h> under SUNOS_5.
1404
14051999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1406
1407 * sockunion.c (in6addr_cmp): Enclosed by #define HAVE_IPV6
14081999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1409
1410 * command.h (node_type ): Add BGP_IPV4_NODE and BGP_IPV6_NODE.
1411
14121999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1413
1414 * command.c (disable): Add `disable' command.
1415
14161999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1417
1418 * plist.c (vty_prefix_list_install): Add any check.
1419
14201999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1421
1422 * command.h (node_type ): Add DUMP_NODE.
1423
14241999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1425
1426 * smux.c: Change default SMUX oid to compatible with gated.
1427
14281999-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1429
1430 * if_rmap.c: New file added.
1431
1432 * if_rmap.h: New file added.
1433
14341999-10-29 Alex Zinin <zinin@amt.ru>
1435
1436 * hash.c: add hash_free() function
1437
14381999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * hash.c (hash_clean): Add clean function.
1441
1442 * plist.c (prefix_list_reset): Add reset function.
1443
1444 * filter.c (access_list_reset): Add reset function.
1445
14461999-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1447
1448 * client.c: Merged with zclient.c.
1449 * client.h: Merged with zclient.h.
1450
14511999-10-15 Jordan Mendelson <jordy@wserv.com>
1452
1453 * md5.c: Imported from GNU C Library.
1454 * md5-gnu.h: Likewise.
1455
14561999-10-15 Jochen Friedrich <jochen@scram.de>
1457
1458 * smux.c (smux_getresp_send): SMUX_GETRSP codes improvement.
1459
14601999-10-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1461
1462 * smux.h: New file added.
1463
1464 * snmp.c: Rename to smux.c.
1465
14661999-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1467
1468 * command.c (cmd_execute_command_strict): Filter ambious commands.
1469 (cmd_filter_by_string): Change to return enum match_type.
1470
14711999-10-01 Toshiaki Takada <takada@zebra.org>
1472
1473 * vty.c (vty_describe_fold): New function which does VTY
1474 description line fold.
1475 * vty.c (vty_describe_command): Set description column.
1476
14771999-09-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1478
1479 * plist.c (prefix_list_init_ipv4): VTY user interface is improved.
1480
14811999-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1482
1483 * command.c (cmd_filter_by_string): Fix bug of CMD_IPV4 and
1484 CMD_IPV4_PREFIX check. Both return type must be exact_match.
1485
14861999-09-24 Toshiaki Takada <takada@zebra.org>
1487
1488 * command.c (cmd_filter_by_completion),
1489 (is_cmd_ambiguous): Check IPv4 address, IPv4 prefix and range
1490 parameter matches range.
1491
14921999-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1493
1494 * routemap.c (route_map_apply): Returm RM_DENYMATCH when no match
1495 is performed.
1496
14971999-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1498
1499 * vty.c (vty_read): Control-C stop VTY_MORE mode.
1500
15011999-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1502
1503 * command.h (node_type ): Add ACCESS_IPV6_NODE and
1504 PREFIX_IPV6_NODE.
1505
1506 * distribute.h: New file added.
1507
1508 * command.h (node_type ): Delete DISTRIBUTE_NODE.
1509
15101999-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1511
1512 * vty.c (vty_terminate_all): New function added for reload
1513 support.
1514
15151999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1516
1517 * memory.h (enum): Add new type MTYPE_OSPF_EXTERNAL_ROUTE.
1518
15191999-08-31 Janos Farkas <chexum@shadow.banki.hu>
1520
1521 * vty.c (vty_read): Handle also 0x7f (alt-backspace), just like
1522 esc-ctrl-h (delete word backwards).
1523
15241999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1525
1526 * if.h: Add if_nametoindex for NRL.
1527
15281999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1529
1530 * if.c (if_create): New function.
1531
15321999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1533
1534 * snmp.c: New file.
1535
15361999-08-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1537
1538 * stream.c (stream_put): stream_memcpy () is changed to stream_put
1539 (). stream_get () is added.
1540
15411999-08-18 Toshiaki Takada <takada@zebra.org>
1542
1543 * memory.h (enum): Add MTYPE_OSPF_LSA_DATA.
1544
15451999-08-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1546
1547 * table.c (route_table_finish): add function frees table.
1548
15491999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1550
1551 * memory.h (enum): Add MTYPE_RTADV_PREFIX.
1552
15531999-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1554
1555 * if.h (struct interface ): hw_address, hw_address_len added.
1556
15571999-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1558
1559 * if.h (struct interface ): Change structure member if_data to
1560 info, index to ifindex.
1561
15621999-08-08 Rick Payne <rickp@rossfell.co.uk>
1563
1564 * routemap.c: Multi protocol route-map modification.
1565
1566 * routemap.c (route_map_apply): Route match process bug is fixed.
1567
15681999-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1569
1570 * thread.c (thread_fetch): When signal comes, goto retry point.
1571
15721999-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1573
1574 * Makefile.am: Add sockopt.c and sockopt.h
1575 * sockopt.c: New file.
1576 * sockopt.h: New file.
1577
15781999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1579
1580 * version.h (ZEBRA_VERSION): Release zebra-0.75
1581
15821999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1583
1584 * memory.h (enum): Add MTYPE_RIPNG_AGGREGATE.
1585
15861999-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1587
1588 * sockunion.h: Add sockunion_getpeername ().
1589
15901999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1591
1592 * version.h: Release zebra-0.74
1593
15941999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1595
1596 * command.h (struct host): Delete lines from struct host. Add
1597 lines to struct vty.
1598
1599 * command.c: Delete `lines LINES'. Terminal display line settings
1600 should be done by `terminal length' command.
1601
16021999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1603
1604 * memory.h (enum): MTYPE_OSPF_PATH are added.
1605
16061999-07-22 Toshiaki Takada <takada@zebra.org>
1607
1608 * memory.h (enum): MTYPE_OSPF_NEXTHOP is added.
1609
16101999-07-21 Toshiaki Takada <takada@zebra.org>
1611
1612 * linklist.c (list_add_node_prev), (list_add_node_next),
1613 (list_add_list): New function added.
1614
1615 * table.c (route_table_free): New function added.
1616
16171999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1618
1619 * plist.c (config_write_prefix): Set write flag when configuration
1620 is written.
1621
16221999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1623
1624 * prefix.c : prefix_cmp() added. change apply_mask() to
1625 apply_mask_ipv4(), and new apply_mask() added.
1626
16271999-07-14 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1628
1629 * prefix.c (prefix2str): append prefixlen.
1630
16311999-07-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1632
1633 * command.c (config_terminal): Change "config terminal" to
1634 "configure terminal". Reported by Georg Hitsch
1635 <georg@atnet.at>.
1636 (config_terminal_length): `terminal length <0-512>' is added. At
1637 this moment this command is only usef for vty interface.
1638 Suggested by Georg Hitsch <georg@atnet.at>.
1639
16401999-07-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1641
1642 * routemap.c (rulecmp): Add wrapper function of strcmp.
1643
16441999-07-08 Rick Payne <rickp@rossfell.co.uk>
1645
1646 * sockunion.c (inet_aton): Fix bug of inet_aton.
1647
16481999-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1649
1650 * version.h (ZEBRA_VERSION): Start zebra-0.73
1651
16521999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1653
1654 * version.h: Bump up to 0.72.
1655
16561999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1657
1658 * command.c (install_default): New function for install default
1659 commands to the node.
1660
1661 * memory.h (enum): MTYPE_NEXTHOP is added.
1662
16631999-07-01 <kunihiro@zebra.org>
1664
1665 * command.c (no_banner_motd): `no banner motd' command added.
1666
16671999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1668
1669 * regex.c: Update to glibc-2.1.1's posix/regex.c
1670
1671 * regex-gnu.h: Update to glibc-2.1.1's posix/regex.h
1672
1673 * prefix.h (IPV4_ADDR_SAME): Macro added.
1674 (IPV6_ADDR_SAME): Likewise.
1675
16761999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1677
1678 * memory.h (enum): Add MTYPE_OSPF_VERTEX
1679
1680 * version.h: Bump up to 0.71.
1681
1682 * vty.c (vty_serv_sock_addrinfo): Use addrinfo function to bind
1683 VTY socket when IPv6 is enabled.
1684
16851999-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1686
1687 * vty.c (vty_serv_sock): Change vty_serv_sock determine which
1688 address family to bind.
1689
1690 * command.c: Add quit command.
1691
16921999-06-26 NOGUCHI kay <kay@dti.ad.jp>
1693
1694 * vty.c (vty_read_config): Fix bug of configuration file path
1695 detection.
1696
16971999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1698
1699 * version.h: Bump up to 0.70.
1700
17011999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1702
1703 * buffer.h (GETL): Remove GETL macro.
1704
1705 * version.h: Bump up to 0.69.
1706
17071999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1708
1709 * if.c (connected_add): Commented out connected_log.
1710
17111999-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1712
1713 * command.h (struct cmd_element ): strvec and descvec is combined
1714 into newstrvec.
1715
1716 * command.c (desc_make): Function removed.
1717 (desc_next): Function removed.
1718
1719 * command.h (struct cmd_element ): docvec is removed from struct
1720 cmd_element.
1721
17221999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1723
1724 * command.c (cmd_execute_command): Remove command NULL check.
1725
1726 * command.h (struct cmd_element ): Add newstrvec entry to struct
1727 cmd_element.
1728 (DEFUN2): DEFUN2 macro is removed. DEFUN is extended to support
1729 (a|b|c) statement.
1730 (DESC): DESC macro is removed.
1731
1732 * vty.c (vty_complete_command): When return value is
1733 CMD_ERR_NO_MATCH, don't display error message.
1734
17351999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1736
1737 * table.c (route_next_until): New function.
1738
1739 * version.h: Bump up to 0.68.
1740
17411999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1742
1743 * vty.c (vty_close): Free vty->buf when vty is closed.
1744
1745 * memory.h (enum): Add MTYPE_COMMUNITY_ENTRY and
1746 MTYPE_COMMUNITY_LIST.
1747
1748 * vty.h (struct vty ): Change buf from static length buffer to
1749 variable length buffer.
1750
1751 * vty.c (vty_ensure): New function added.
1752
17531999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1754
1755 * command.h (node_type ): Add COMMUNITY_LIST_NODE.
1756
1757 * command.c (config_enable_password): Freeing host.enable bug is
1758 fixed.
1759 (config_enable_password): Add argc count check.
1760
17611999-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1762
1763 * version.h: Bump up to 0.67.
1764
17651999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1766
1767 * command.c (zencrypt): New function for encrypt password.
1768
1769 * command.h (struct host): Add password_encrypt and
1770 enable_encrypt.
1771
17721999-05-30 Jochen Friedrich <jochen@scram.de>
1773
1774 * command.h (struct host): New member encrypt is added for
1775 encrypted password.
1776
17771999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1778
1779 * vty.c: Remove all_digit_check function. Instead use all_digit.
1780
1781 * prefix.c (all_digit): New function for checking string is made
1782 from digit character.
1783
17841999-05-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1785
1786 * Makefile.am (libzebra_a_SOURCES): Add zclient.c.
1787 (noinst_HEADERS): Add zclient.h
1788
1789 * zclient.[ch]: New file for zebra client routine.
1790
1791 * memory.h (enum): Add MTYPE_ZEBRA.
1792
17931999-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1794
1795 * version.h (ZEBRA_VERSION): Update to 0.66.
1796
17971999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1798
1799 * buffer.h (GETC,GETW): Macro deleted.
1800
18011999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1802
1803 * prefix.h (IPV4_NET0, IPV4_NET127): Macro added.
1804
18051999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1806
1807 * vty.c (service_advanced_vty): New command added.
1808 (no_service_advanced_vty): Likewise.
1809
18101999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1811
1812 * vty.c (vty_auth): If advanced flag is set and enable password is
1813 not set, directly login to the ENABLE_NODE. This feature is
1814 originally designed and implemented by Stephen R. van den Berg
1815 <srb@cuci.nl>.
1816
1817 * command.h (host): Add advanced flag to struct host for advanced
1818 vty terminal interface.
1819
1820 * version.h (ZEBRA_VERSION): Update to 0.65 for next beta release.
1821
18221999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1823
1824 * command.h (node_type ): Add TABLE_NODE.
1825
1826 * vty.c (vty_telnet_option): Check host.lines value.
1827
1828 * command.c (config_lines): DEFUN for 'lines LINES' command.
1829
1830 * zebra.h: Include <sys/utsname.h> for uname().
1831 (RT_TABLE_MAIN): Defined as 0 if OS does not support multiple
1832 routing table.
1833
1834 * vty.c (vty_auth): Directly login to the ENABLE_NODE when enable
1835 password is not set.
1836 (vty_prompt): Get machine's hostname when hostname is not set.
1837
18381999-05-11 James Willard <james@whispering.org>
1839
1840 * command.c (config_exit): Close connection when `exit' command is
1841 executed at ENABLE_NODE.
1842
18431999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1844
1845 * vty.c (vty_stop_input): `C-c' key change node to ENABLE_NODE.
1846
1847 * command.c (cmd_execute_command_strict): Matched command size
1848 check added.
1849 (cmd_make_desc_line): New function for DEFUN2.
1850
1851 * command.h (struct cmd_element ): Add descsize.
1852
18531999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1854
1855 * command.h (struct cmd_element ): Remame descvec to docvec.
1856 (struct cmd_element ): Add descvec for new description system.
1857
1858 * command.c (desc_make): Check cmd->descvec.
1859
18601999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1861
1862 * memory.h (enum): Add MTYPE_CLUSTER, MTYPE_CLUSTER_VAL.
1863
18641999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1865
1866 * version.h (ZEBRA_VERSION): Bump up to 0.64 for next beta
1867 release.
1868
18691999-05-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1870
1871 * linklist.c (list_delete_all_node): bug fix.
1872 previous code loses current position when node
1873 is deleted.
1874
18751999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1876
1877 * command.h (DESC): Macro added.
1878 (struct cmd_element2): Delete struct cmd_element2.
1879
1880 * plist.c (prefix_list): Sequential number option check is added.
1881
18821999-05-02 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1883
1884 * log.c (zvlog_{debug,info,notice,warn,err}): have been
1885 added. now we can log both console and file, but still
1886 need some fix about config write.
1887
18881999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1889
1890 * log.c (zvlog_debug): Fix yasu's change.
1891
18921999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1893
1894 * plist.c (prefix_list): Fix typo.
1895
18961999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1897
1898 * Set version to 0.63 for first beta package.
1899
19001999-04-27 Carlos Barcenilla <barce@frlp.utn.edu.ar>
1901
1902 * prefix.c (str2prefix_ipv4): Fix prefix length check.
1903 (str2prefix_ipv6): Likewise.
1904
19051999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1906
1907 * memory.h (enum): Add MTPYE_PREFIX_LIST and
1908 MTYPE_PREFIX_LIST_ENTRY.
1909
1910 * command.h (node_type ): Add PREFIX_NODE.
1911
19121999-04-25 Carlos Barcenilla <barce@frlp.utn.edu.ar>
1913
1914 * command.c: ALIAS (config_write_memory_cmd) and ALIAS
1915 (copy_runningconfig_startupconfig_cmd) is added.
1916
1917 * table.c (route_node_lookup): Unused match variable deletion.
1918
19191999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1920
1921 * Makefile.am (libzebra_a_SOURCES): plist.c added.
1922 (noinst_HEADERS): plist.h added.
1923
1924 * plist.c, plist.h: New file added.
1925
1926 * memory.h (enum): Rename MTYPE_AS_PASN to MTYPE_AS_STR.
1927 * memory.c: Likewise.
1928
19291999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1930
1931 * command.c (show_version): `show version' command added.
1932
19331999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1934
1935 * prefix.c (str2prefix_ipv6): Prefix length overflow check.
1936
19371999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1938
1939 * prefix.c (str2prefix_ipv4): Prefix length overflow check.
1940
19411999-04-19 Alex Bligh <amb@gxn.net>
1942
1943 * prefix.c (sockunion2hostprefix): Function added.
1944 (sockunion2prefix): Address family was not set. Now it is set.
1945
1946 * vty.c: VTY access-class command is added.
1947
19481999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1949
1950 * memory.c: Change xmalloc to zmalloc. xcalloc, xrealloc, xfree,
1951 xstrdup are likewise.
1952
19531999-04-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1954
1955 * thread.c: Add thread_execute for other routing daemon.
1956 OSPF tasks need to be generated by "sheduled" and "executed".
1957
19581999-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1959
1960 * buffer.c: Rewrite buffer_write and buffer_flush related
1961 functions for fixing bugs. Reason of the problem and fix is
1962 suggested by Alex Bligh <amb@gxn.net>.
1963
19641999-04-12 Alex Bligh <amb@gxn.net>
1965
1966 * command.c (cmd_entry_function_descr): Added for variable
1967 argument help display.
1968
19691999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1970
1971 * regex.c, regex-gnu.h: Imported from GNU sed-3.02 distribution.
1972
19731999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1974
1975 * stream.c: stream_fifo_free bug is fixed.
1976
19771999-03-19 Toshiaki Takada <takada@zebra.org>
1978
1979 * stream.c (stream_strncpy): Added for getting any length bytes
1980 from stream.
1981
19821999-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1983
1984 * version.h (ZEBRA_BUG_ADDRESS): New macro added.
1985
19861999-03-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1987
1988 * buffer.c (buffer_flush_window): If ep is same as buffer's size
1989 length and lp is overrun one octet.
1990
19911999-03-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1992
1993 * vty.h: add VTY's timeout function.
1994
19951999-03-05 <kunihiro@zebra.org>
1996
1997 * command.h (node_type ): Add OSPF6_node.
1998
19991999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2000
2001 * zebra.h: Check HAVE_SYS_SELECT_H when include <sys/select.h>
2002
20031999-03-03 Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
2004
2005 * zebra.h: Include <net/if_var.h> if it exists.
2006
20071999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2008
2009 * getopt.[ch],getopt1.c: Sync with glibc-2.1.
2010
2011 * log.c (zlog): Tempolary ZLOG_STDOUT feature added.
2012
2013 * command.h: Include vector.h and vty.h
2014
20151999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2016
2017 * routemap.h (struct route_map_rule_cmd): Add prefix arguemnt.
2018
2019 * routemap.c (route_map_apply_index): Add prefix argument.
2020 (route_map_apply): Likewise.
2021
2022 * memory.h (enum): Add MTYPE_ROUTE_MAP_COMPILED.
2023
2024 * stream.c: Add stream_fifo related functions.
2025
20261999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2027
2028 * daemon.c: Return integer value. File descriptor close is added.
2029
2030 * memory.h (enum): add MTYPE_OSPF_LSA.
2031
20321999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2033
2034 * rsh.c: Remove empty file.
2035
20361999-02-22 <kunihiro@zebra.org>
2037
2038 * routemap.c: Add add/delete hook to route_map_master.
2039
20401999-02-19 Peter Galbavy <Peter.Galbavy@knowledge.com>
2041
2042 * str.[ch] added to supply wrappers for snprintf(), strlcat() and
2043 strlcpy on system without these.
2044
20451999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2046
2047 * syslog support added
2048
20491999-02-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2050
2051 * filter.c (access_list_add_hook): added for hook function management.
2052 * filter.c (access_list_delete_hook): Likewise.
2053
20541999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2055
2056 * stream.c: New file.
2057 * stream.h: New file.
2058 * Divide stream related fucntions from buffer.[ch] into stream.[ch].
2059
20601999-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2061
2062 * memory.h (enum): add MTYPE_STREAM, MTYPE_STREAM_DATA
2063
2064 * buffer.c (stream_new): Set MTYPE_STREAM to XMALLOC argument.
2065
20661998-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2067
2068 * routemap.c: route_map_index_delete() added.
2069
20701998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2071
2072 * buffer.c (buffer_empty): check cp instead of sp.
2073
20741998-12-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2075
2076 * radix.[ch]: Deleted.
2077
20781998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2079
2080 * buffer.c: Prototype fixes.
2081 * prefix.c: Likewise.
2082 * sockunion.c: Likewise.
2083 * sockunion.h: Likewise.
2084
20851998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2086
2087 * vty.c (vty_read): DELETE key works as vty_delete_char.
2088
20891998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2090
2091 * log.c (time_print): chane %y to %Y.
2092
20931998-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2094
2095 * distribute.c: new file.
2096
20971998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2098
2099 * filter.c: Remove all of struct prefix_{ipv4,ipv6} and add
2100 complete support of IPv6 access list.
2101
2102 * command.c (config_write_element): function delete.
2103 (config_write_host): function add. password and enable password
2104 isn't printed to vty interface.
2105
21061998-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2107
2108 * filter.c: Change prefix_ipv4 to prefix and add support of
2109 prefix_ipv6 filtering.
2110
21111998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2112
2113 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6 inet6-apps
2114 header includes.
2115
21161998-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2117
2118 * log.c (log_flush): fix function name typo.
2119
21201998-12-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2121
2122 * memory.h: OSPF memory type is added.
2123
21241998-11-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2125
2126 * command.c (sort_node): add sort_node() for pretty printing of
2127 command on vty interface.
2128 (config_password): delete the restriction of charaster of password
2129 string.
2130
21311998-09-05 Kunihiro Ishiguro <kunihiro@debian.zebra.org>
2132
2133 * prefix.c (prefix_ipv4_any): add prefix_ipv4_any().
2134
21351998-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2136
2137 * network.h: New file.
2138
21391998-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2140
2141 * vty.c (vty_will_echo): function name change from vty_off_echo.
2142
21431998-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2144
2145 * buffer.h: add PUTC,PUTW,PUTL macros.
2146
21471998-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2148
2149 * route.[ch]: renamed to prefix.[ch]
2150
21511998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2152
2153 * prefix_in, prefix_in6 is replaced by prefix_ipv4, prefix_ipv6.
2154
2155 * Makefile.am: @INCLUDES@ is deleted from INCLUDES.
2156
21571998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2158
2159 * host.[ch]: merged with command.[ch]
2160
21611998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2162
2163 * Makefile.am (libzebra_a_SOURCES): add route.c to libzebra_a_SOURCES.
2164
21651998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2166
2167 * route.c (str2prefix): str2prefix () is gone.
2168
21691998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2170
2171 * vty.c (vty_read_config): change CONDIR to SYSCONFDIR.
2172
2173 * .cvsignore: add file.
2174
2175 * memory.c (xerror): add arguent `type' and `size'.
2176
2177 * socket.c: deleted.
2178
21791998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2180
2181 * vector.c: malloc,free,realloc -> XMALLOC,XFREE,XREALLOC.
2182 * linklist.c: same as above.
2183
21841998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2185
2186 * filter.[ch]: added.
2187
21881998-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2189
2190 * vty.c (config_who): return CMD_SUCCESS
2191
21921998-04-01 Jochen Friedrich <jochen@scram.de>
2193
2194 * table.c (route_dump_node): route_dump_node is IPv6 specific
2195 function so move #ifdef to the end of route_dump_node ().
2196
21971998-03-05 "Hannes R. Boehm" <hannes@boehm.org>
2198
2199 * if.c: DEFUN(interface_desc) added.
2200
22011998-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2202
2203 * if.c: separated from ripd/rip_interface.c
2204
22051998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2206
2207 * thread.[ch] : added.
2208
22091998-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2210
2211 * vty.c (vty_delete_char): fix size bug.
2212 (vty_backward_pure_word): function added.
2213 (vty_read): ESC + 'f' perform vty_forward_word.
2214 (vty_read): ESC + 'b' perform vty_backward_word.
2215
22161998-02-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2217
2218 * radix.c (radix_lookup_rt): add mask check.
2219 (radix_delete_duproute): add mask check.
2220
22211998-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2222
2223 * command.c (config_write_file): fix vty -> file_vty.
2224
22251998-02-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2226
2227 * command.c (cmd_filter_ambiguous): add complex type treatment.
2228
22291998-02-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2230
2231 * vty.c (vty_time_print): function added.
2232 (vty_complete_command): now [...] element isn't shown by completion.
2233
22341998-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2235
2236 * command.c : change from cmd_install_node() to install_node().
2237
22381998-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2239
2240 * route.[ch]: struct rt{} is replaced by struct prefix{}.
2241
22421998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2243
2244 * command.c (cmd_execute_command): check command length.
2245
2246 * timer.c (zebra_timer_set): add zebra_timer_set.
2247
22481998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2249
2250 * command.h (node_type ): add ZEBRA_NODE.
2251
2252 * command.c (config_exit): add RIP_NODE.
2253 (config_write_file): add RIP_NODE.
2254
22551998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2256
2257 * print_version.c (print_version): Now Copyright is 1996-1998.
2258
2259 * sockunion.c (sockunion_log): moved from ../zebra/route.c
2260
22611997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2262
2263 * host.c (config_logfile): change 'log PATH' to 'logfile PATH'.
2264
2265 * sockunion.c (sockunion_sameprefix): add same prefix for
2266 sockunion.
2267
22681997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2269
2270 * radix.[ch] : are moved from ../zebra directroy.
2271
2272 * command.c (config_from_file): if command execution failed down
2273 level to CONFIG_NODE.
2274
2275 * host.c: config_log function which enable 'log FILENAME' command.
2276
22771997-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2278
2279 * vty.c: add vty_transpose_chars (). Now you can use '^T' to
2280 transpose character.
2281
2282 * command.c: cmd_cmdsize add, this is useful to check incomplete
2283 command.
2284
22851997-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2286
2287 * fd.h: add family for address family
2288
22891997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2290
2291 * command.o
2292 * vty.o
2293 * host.o is moved from ../zebra
2294
22951997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2296
2297 * make library directory.
2298