blob: 40e0f2291506d072fe5ade480070ecced637e888 [file] [log] [blame]
paul23b9c612004-10-22 11:51:57 +000012004-10-22 Paul Jakma <paul@dishone.st>
paul7d9c6e52004-10-22 10:54:39 +00002
3 * sockopt.c: (getsockopt_ipv4_ifindex) no ifindex should be 0, not
paul23b9c612004-10-22 11:51:57 +00004 -1.
5 (setsockopt_pktinfo) unexported
6 * sockopt.h: Cleanup SOCKOPT_CMSG defines a bit. Add a throwaway
7 define for SOPT_SIZE_CMSG_IFINDEX_IPV4 for systems which have
8 neither IP_RECVIF nor IP_PKTINFO (eg openbsd).
paul406d6712004-10-22 12:27:44 +00009 * command.h: Cleanup the defines a bit, add helper defines and
10 collapse all defines to use those. Add an attribute field to
11 cmd_element to support, eg hidden or deprecated commands, add
12 defun defines for such. All that's left to do is add logic
13 to command.c to check these attributes... ;)
paul7d9c6e52004-10-22 10:54:39 +000014
hasso6590f2c2004-10-19 20:40:08 +0000152004-10-19 Hasso Tepper <hasso at quagga.net>
16
17 * version.h.in: Define copyright string QUAGGA_COPYRIGHT.
18 * print_version.c: Remove. print_version () function moved to
19 command.[c|h].
20 * command.c: Use QUAGGA_COPYRIGHT.
21 * Makefile.am: Remove useless version.c and print_version.c files.
22
hasso3fb9cd62004-10-19 19:44:43 +0000232004-10-19 Andrew J. Schorr <aschorr@telemetry-investments.com>
24
25 * zclient.c: (zebra_interface_address_read) If the destination address
26 is encoded as all zeroes, load it as a NULL pointer.
27 * if.h: Add comment describing struct connected destination field
28 and indicating that it may be NULL. Define macros
29 CONNECTED_DEST_HOST and CONNECTED_POINTOPOINT_HOST to help
30 with PtP logic (distinguish between host and subnet addressing).
31 * if.c: (if_lookup_address) Fix PtP logic to handle subnet addressing
32 properly,
33 (connected_lookup_address) ditto.
34 (connected_add_by_prefix) Handle case where destination is NULL,
35 * prefix.[c|h]: New functions ipv4_network_addr and
36 ipv4_broadcast_addr.
37
hassoddd85ed2004-10-13 08:18:07 +0000382004-10-13 Hasso Tepper <hasso at quagga.net>
39
40 * command.c: Make CMD_ERR_NOTHING_TODO nonfatal if reading
41 configuration from file. Fixes critical bugzilla #113.
hassoc75105a2004-10-13 10:33:26 +000042 * smux.c, smux.h: Remove all defaults to initialize smux connection to
43 snmpd by default even if not configured to do so. "smux peer OID
44 <password>" initializes now connection and "no smux peer" terminates
45 it.
hassoddd85ed2004-10-13 08:18:07 +000046
paul42d49862004-10-13 05:22:18 +0000472004-10-13 Paul Jakma <paul@dishone.st>
48
49 * (global) more const'ification.
50 * sockunion.c: (sockunion_su2str) buffer should be sized
51 SU_ADDRSTRLEN.
52 (sockunion_log) do not return stack variables, strdup buf before
53 return.
54 * vty.h: Fix up the VTY_GET_INTEGER macros. Testing caller supplied
55 values against ULONG_MAX is daft, when caller probably has passed
56 a type that can not hold ULONG_MAX. use a temporary long instead.
57 Add VTY_GET_LONG, make VTY_GET_INTEGER_RANGE use it, make
58 VTY_GET_INTEGER a define for VTY_GET_INTEGER_RANGE.
59
hassoa1494112004-10-11 12:53:17 +0000602004-10-11 Hasso Tepper <hasso at quagga.net>
61
62 * command.h: Sync DEFUNSH with other macros.
63 * sockunion.c, sockunion.h: More const strings.
64
paul9076fbd2004-10-11 09:40:58 +0000652004-10-11 Paul Jakma <paul@dishone.st>
66
67 * thread.c: (funcname_thread_add_timer)
68 (funcname_thread_add_timer_msec) Fix mistakes from last change.
69 Pointed out by Liu Xin in [quagga-dev 1609].
paulc9eca012004-10-11 11:28:44 +000070 * if.h: mtu's should be unsigned.
71 * routemap.{c,h}: const char updates
72 * smux.{c,h}: ditto
paul9076fbd2004-10-11 09:40:58 +000073
paul9035efa2004-10-10 11:56:56 +0000742004-10-10 Paul Jakma <paul@dishone.st>
paul47ca2952004-10-10 08:03:18 +000075
76 * version.h.in: (pid_output*) add const qualifier.
paul9035efa2004-10-10 11:56:56 +000077 * command.h: Change DEFUN func to take const char *[] rather
78 than char **, to begin process of fixing compile warnings in lib/.
79 Nearly all other changes in this commit follow from this change.
80 * buffer.{c,h}: (buffer_write) pointer-arithmetic is gccism, take
81 const void * and cast an automatic const char *p to it.
82 (buffer_putstr) add const
83 * command.c: (zencrypt) const qualifier
84 (cmd_execute_command_real) ditto
85 (cmd_execute_command_strict) ditto
86 (config_log_file) ditto.
87 Fix leak of getcwd() returned string.
88 * memory.{c,h}: Add MTYPE_DISTRIBUTE_IFNAME for struct dist ifname.
89 * distribute.{c,h}: Update with const qualifier.
90 (distribute_free) use MTYPE_DISTRIBUTE_IFNAME
91 (distribute_lookup) Cast to char *, note that it's ok.
92 (distribute_hash_alloc) use MTYPE_DISTRIBUTE_IFNAME.
93 (distribute_get) Cast to char *, note that it's ok.
94 * filter.c: Update with const qualifier.
95 * if.{c,h}: ditto.
96 * if_rmap.{c,h}: ditto.
97 (if_rmap_lookup) Cast to char *, note that it's ok.
98 (if_rmap_get) ditto.
99 * log.{c,h}: Update with const qualifier.
100 * plist.{c,h}: ditto.
101 * routemap.{c,h}: ditto.
102 * smux.{c,h}: ditto. Fix some signed/unsigned comparisons.
103 * sockopt.c: (getsockopt_cmsg_data) add return for error case.
104 * vty.c: Update with const qualifier.
105
hasso27a43a82004-10-08 06:29:12 +00001062004-10-08 Hasso Tepper <hasso at quagga.net>
107
108 * routemap.c, routemap.h: Make some string arguments const.
109
paul5973ee72004-10-08 01:36:54 +00001102004-10-05 Paul Jakma <paul@dishone.st>
111
112 * version.h.in: print_version declaration is here, not in automake
113 generated version.h.
114
hassoea8e9d92004-10-07 21:32:14 +00001152004-10-08 Hasso Tepper <hasso at quagga.net>
116
117 * command.c, command.h: Make argument of cmd_make_strvec function
118 const.
119 * command.c: Make hostname commands usable in vtysh again.
120
hasso6ad96ea2004-10-07 19:33:46 +00001212004-10-07 Hasso Tepper <hasso at quagga.net>
122
123 * command.c, pid_output.c, print_version.c, vty.c, vty.h: Make more
124 strings const.
125
hasso8c328f12004-10-05 21:01:23 +00001262004-10-05 Hasso Tepper <hasso at quagga.net>
127
128 * *.[c|h]: Make many strings cons and a lot of int -> unsigned int
129 changes to fix warnings.
130
paul96e27c92004-10-05 14:33:43 +00001312004-10-05 Paul Jakma <paul@dishone.st>
132
133 * sockopt.{c,h}: add sockopt_iphdrincl_swab_{htosys,systoh},
134 functions to change byte order between system IP_HDRINCL order
135 and host order.
paul98c91ac2004-10-05 14:57:50 +0000136 * thread.c: (funcname_thread_add_timer_timeval) new function, add
137 timer at specified timeval.
138 (funcname_thread_add_timer) use funcname_thread_add_timer_timeval.
139 (funcname_thread_add_timer_msec) ditto
paul96e27c92004-10-05 14:33:43 +0000140
hassob04c6992004-10-04 19:10:31 +00001412004-10-04 Hasso Tepper <hasso at quagga.net>
142
143 * memory.c, memory.h: Make char * argument of strdup functions const.
144 * prefix.c, prefix.h: Make many arguments const. Reorder stuff in
145 header.
146 * log.h: Make log message const in struct message.
147 * log.c: Fix some indenting.
148 * network.c, network.h: Make second argument of writen() const.
149
hassoe7168df2004-10-03 20:11:32 +00001502004-10-03 Hasso Tepper <hasso at quagga.net>
151
152 * command.h: Introduce SERVICE_NODE for "service <...>" commands.
153 * command.c: Don't initialize commands that don't make sense if vtysh
154 is used.
155 * vty.c: Make VTY_NODE appear in vtysh.
156
hasso18a6dce2004-10-03 18:18:34 +00001572004-10-03 James R. Leu <jleu at mindspring.com>
158
159 * zclient.c, zclient.h: zclient functions for router id handling.
160 * zebra.h: New message types for router id handling.
161
paul9172ee02004-09-27 12:46:37 +00001622004-09-27 Paul Jakma <paul@dishone.st>
163
164 * zebra.h: Add WANT_OSPF_WRITE_FRAGMENT for ospfd
165 to try to fragment oversized packets. Enabled only for Linux.
166 Add HAVE_IP_HDRINCL_BSD_ORDER to define struct ip byte order,
167 to consolidate various ad-hoc platform defines for same thing.
168
hassoe473b032004-09-26 16:08:11 +00001692004-09-26 Hasso Tepper <hasso at quagga.net>
170
171 * vty.c, sockopt.c: Fix compiler warnings.
172
hasso52dc7ee2004-09-23 19:18:23 +00001732004-09-23 Hasso Tepper <hasso at quagga.net>
174
175 * linklist.h: Remove list and listnode typedefs.
176 * *.[c|h]: list -> struct list *, listnode -> struct listnode *.
177
paul0b3acf42004-09-17 08:39:08 +00001782004-09-17 Paul Jakma <paul@dishone.st>
179
paulb89e60c2004-09-21 15:43:13 +0000180 * sockopt.c: Add missing bracket
181
1822004-09-17 Paul Jakma <paul@dishone.st>
183
paul0b3acf42004-09-17 08:39:08 +0000184 * sockopt.{c,h}: Add setsockopt_so_recvbuf, for ripd and ripngd.
185
paul33394762004-09-13 11:27:57 +00001862004-09-13 Paul Jakma <paul@dishone.st>
187
188 * command.c: Update the copyright string in the default motd.
189
gdt630e4802004-08-31 17:28:41 +00001902004-08-31 David Wiggins <dwiggins@bbn.com>
191
192 * hash.c (hash_iterate): Save next pointer before calling
193 procedure, so that iteration works even if the called procedure
194 deletes the hash backet.
195
196 * linklist.h (listtail): new macro, not yet used.
197
hasso34553cc2004-08-27 13:56:39 +00001982004-08-27 Hasso Tepper <hasso at quagga.net>
199
200 * command.c: Install "terminal length" commands only if vty is used.
201 Vtysh will handle it itself.
202
gdtafa43b22004-08-26 13:12:41 +00002032004-08-26 Greg Troxel <gdt@fnord.ir.bbn.com>
204
205 * sockopt.h: Define method-independent macro for callers of
206 get_ifindex to use for cmsg length.
207
paule6822762004-08-19 04:13:29 +00002082004-08-19 Paul Jakma <paul@dishone.st>
209
paulefba6ce2004-08-25 13:47:16 +0000210 * zebra.h: add MAX and MIN defines (eg for ospf6d)
211
2122004-08-19 Paul Jakma <paul@dishone.st>
213
paule6822762004-08-19 04:13:29 +0000214 * sockopt.c: include sockopt.h
215 rename some of the _pktinfo_ functions to _ifindex, where that is
216 their purpose.
217 (getsockopt_ipv6_pktinfo_ifindex) renamed to
218 getsockopt_ipv6_ifindex.
219 (setsockopt_ipv4_pktinfo) renamed to setsockopt_ipv4_ifindex
220 (setsockopt_pktinfo) update with previous and add comment re
221 AF_INET portability.
222 (setsockopt_ifindex) generic ifindex function ala
223 setsockopt_pktinfo.
224 (getsockopt_ipv4_pktinfo_ifindex) renamed to
225 getsockopt_ipv4_ifindex.
226 (getsockopt_ipv4_ifindex) rejiggling to reduce repeated
227 ifdef/elses. pktinfo case forgot to set ifindex.
228 (getsockopt_pktinfo_ifindex) renamed to
229 getsockopt_ifindex. update some calls to renamed functions.
230 * sockopt.h: Update renamed exported functions
231 Rename the CMSG_SIZE macros to IFINDEX.
232 Guard IPv4 PKTINFO in a conditional define.
233
paulc0618de2004-08-18 21:52:58 +00002342004-08-18 Paul Jakma <paul@dishone.st>
235
236 * vty.c: (vty_serv_un) set unix vty socket to nonblocking
237 to prevent inadvertent blocking of daemons by use of
238 vtysh. TODO: disentangle manual paging from the buffer_write
239 path so that unix vty can use this path too and be reliable.
240
gdt33f92322004-07-23 16:14:32 +00002412004-07-23 Greg Troxel <gdt@poblano.ir.bbn.com>
242
243 * sockopt.c (getsockopt_ipv4_pktinfo_ifindex): Make this compile
244 on NetBSD, and add comments to make it less confusing. Change the
245 sense of the SUNOS_5 test to make parallel structure between the
246 variables and the code.
247
paul4f7baa02004-07-23 15:11:07 +00002482004-07-23 Paul Jakma <paul@dishone.st>
249
250 * sockopt.h: Add SOPT_SIZE_CMSG_PKTINFO{_IPV{4,6}} define, for
251 sizeof pktinfo as appropriate, to be used when allocating msg
252 buffers. export setsockopt_pktinfo() and
253 getsockopt_pktinfo_ifindex()
254 * sockopt.c: (setsockopt_pktinfo_ifindex) new function to portably
255 set received ifindex sock option.
256 (getsockopt_pktinfo_ifindex) portably retrieve ifindex.
257 (getsockopt_cmsg_data) retrieve indicated control info from
258 message header.
259 (getsockopt_ipv6_pktinfo_ifindex) ipv6 version of above.
260 (setsockopt_ipv4_pktinfo) v4 version
261 (setsockopt_pktinfo) the exported version
262 (getsockopt_ipv4_pktinfo_ifindex) v4 specific version
263 (getsockopt_pktinfo_ifindex) the exported version
264
paul05c447d2004-07-22 19:14:27 +00002652004-07-14 Paul Jakma <paul@dishone.st>
266
267 * sigevent.c: (quagga_signal_handler) add a global caught flag, set
268 the flags to a constant rather increment to be kinder.
269 (quagga_sigevent_process) new function, to do core of what
270 quagga_signal_timer did. dont block signals at all as sig->caught
271 is volatile sig_atomic_t and should be safe to access from signal
272 and normal contexts. The signal blocking is unneeded paranoia, but
273 is left intact under an ifdef, should some platform require it.
274 Check global caught flag before iterating through array.
275 (quagga_signal_timer) nearly everything moved to
276 quagga_sigevent_process. Left in under ifdef, in case some
277 platform could use a regular timer check for signals.
278 * sigevent.h: quagga_sigevent_process declaration.
279 * thread.c: (thread_fetch) check for signals at beginning of
280 scheduler loop, check for signals if select returns EINTR.
281
gdtb7797132004-07-13 13:47:25 +00002822004-07-13 Greg Troxel <gdt@poblano.ir.bbn.com>
283
284 * sigevent.c: Don't block SIGTRAP and SIGKILL. Blocking SIGTRAP
285 confuses gdb, at least on NetBSD 2.0_BETA, where the block
286 succeeds.
287
paul5510e832004-07-09 14:00:01 +00002882004-07-09 Paul Jakma <paul@dishone.st>
289
290 * Merge Kunihiro's 'show route-map' change and add
291 compatibility aliases for route-map continue
paulb9790b32004-07-09 14:05:47 +0000292 * jhash.{c,h}: New files. Bob Jenkins' public domain hashing
293 function, as implemented in linux kernel by David Miller.
paul5510e832004-07-09 14:00:01 +0000294
paulb06c14f2004-07-09 12:24:42 +00002952004-07-09 Juris Kalnins <juris@mt.lv>
296
297 * if.c: (if_cmp_func) fix for interface names where name is same,
298 but one has no number, eg "devtyp" and "devtyp0".
299
gdt87efd642004-06-30 17:36:11 +00003002004-06-30 Greg Troxel <gdt@poblano.ir.bbn.com>
301
302 * Makefile.am: Make libzebra shared.
303
paul138ce752004-06-21 10:35:59 +00003042004-06-21 Paul Jakma <paul@dishone.st>
305
306 * ChangeLog: fix my last update config.h -> zebra.h ;)
307 * zebra.h: Fix gcc check.
308
paul02ff83c2004-06-11 11:27:03 +00003092004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>
310
311 * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast
312 to u_char. (ipv6_access_list_remark_cmd) ditto.
313 if.c: ditto
314 * network.c: (readn/writen) pointer arg should be type u_char.
315 * plist.c: needs to include stream.h, not declare stream functions
316 internally.
317 (various) Add static qualifier to internal functions.
318 (prefix_list_type_str) extraneous breaks in switch statement.
319 (ip_prefix_list_description_cmd) buffer_putstr doesnt need cast
320 * stream.h: depends on plist.h and export stream_put_prefix
321 * vty.c: (vty_<telnet option build functions>) should use
322 unsigned char, telnet options are 0 -> 255.
323 * zclient.c: various u_char<->char type cleanups.
324 * zebra.h: Having to define CMSG_* can apply to more than just
325 BSDI_NRL.
326
paul51a87982004-06-09 10:36:05 +00003272004-06-09 Paul Jakma <paul@dishone.st>
328
paul138ce752004-06-21 10:35:59 +0000329 * zebra.h: __attribute__ is a gcc'ism
paul51a87982004-06-09 10:36:05 +0000330
paul5228ad22004-06-04 17:58:18 +00003312004-06-04 Paul Jakma <paul@dishone.st>
332
333 * type mismatch fixes
334
hasso6708fa32004-05-18 18:46:54 +00003352004-05-18 Hasso Tepper <hasso@estpak.ee>
336
337 * pqueue.[c|h]: Added as part of ospf6d merge from Zebra repository.
338
paul0a589352004-05-08 11:48:26 +00003392004-05-08 Paul Jakma <paul@dishone.st>
340
341 * zclient.c (zapi_ipv4_route) Follow Sowmini's lead and describe
342 message format.
343
3442004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
345
346 * zclient.c: (zapi_ipv4_add) collapsed into zapi_ipv4_route
347 (zapi_ipv4_delete) ditto.
348 (zapi_ipv4_route) add/delete a route by way of cmd arg.
349 (zapi_ipv6_add) collapsed into zapi_ipv6_route.
350 (zapi_ipv6_delete) ditto.
351 (zapi_ipv6_route) add/delete a route by way of cmd arg.
352 (zebra_interface_address_delete_read) collapsed into
353 zebra_interface_address_read.
354 (zebra_interface_address_delete_read) ditto.
355 (zebra_interface_address_read) read address add/delete messages
356 by way of type argument. Describe command message format.
357 (zebra_interface_add_read) Unconditionally read new ifmtu6 field.
358 Describe command message format.
359 (zebra_interface_state_read) Unconditionally read new ifmtu6 field.
360 (zclient_redistribute_set) Collapsed into zclient_redistribute
361 (zclient_redistribute_unset) ditto
362 (zclient_redistribute) set/unset redistribution.
363 (zclient_redistribute_default_set) Collapsed into
364 zclient_redistribute_default.
365 (zclient_redistribute_default_unset) ditto.
366 (zclient_redistribute_default) Redistribute default set/unset.
367 * zclient.h: delete zapi_ipv{4,6}_add, zapi_ipv{4,6}_delete. Add
368 zapi_ipv{4,6}_route. delete zclient_redistribute_set/unset. Add
369 zclient_redistribute. Ditto for
370 zclient_redistribute_default_{set/unset}.
371
paul4a7aac12004-05-08 05:00:31 +00003722004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>
373
374 * if.h: Add mtu6 field to struct interface, IPv6 MTU may differ
375 from IPv4, and Solaris treats the MTU's differently.
376 Add connected_add_by_prefix, for use by later patch.
377 * if.c: (connected_add_by_prefix) Add prefix to connected list.
378 (if_flag_dump) Solaris: Dump IFF_IPv4/6 flag
379 (if_dump) Dump mtu6 flag, for HAVE_IPV6.
paul22528292004-05-08 05:10:38 +0000380 * command.c: (sockunion_getsockname) use socklen_t for len.
381 (sockunion_getpeername) ditto.
paul0a589352004-05-08 11:48:26 +0000382
paul31fcdd32004-04-21 11:00:43 +00003832004-04-21 Boris Kovalenko <boris@tagnet.ru>
384
385 * daemon.c: (daemon) fix check for error return from setsid
386
paulc49b3062004-01-19 21:23:37 +00003872004-01-19 Paul Jakma <paul@dishone.st>
388
389 * sigevent.{c,h}: New files, implement event handled signals.
390 see signal_init() in sigevent.h.
391
jardinc32e1b52003-12-23 09:06:51 +00003922003-12-23 Vincent Jardin <jardin@6wind.com>
393
394 * {command.c, memory.c, vty.c, zebra.h}: Add isisd support
395
gdt3dbf9962003-12-22 20:18:18 +00003962003-12-22 Greg Troxel <gdt@fnord.ir.bbn.com>
397
398 * vty.c (vty_use_backup_config): Don't free filenames before using
399 them for unlink.
400
paul54aba542003-08-21 20:28:24 +00004012003-08-20 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
402
403 * command.c: Fix <cr> display problem for command line
404 description
405
paule9af5c72003-05-24 11:54:31 +00004062003-05-24 Anil Madhavapeddy
407
408 * (sockunion.c): Incorrect bounds specified in sockunion_log()
409
paul445f1432003-05-16 19:00:31 +00004102003-05-08 Sergiy Vyshnevetskiy <serg @ vostok.net>
411
412 * vty.c: -A option
413
4142003-04-19 Hasso Tepper <hasso@estpak.ee>
415
416 * rip_routemap.c: sync daemon's route-map commands to have same
417 syntax
418
paul718e3742002-12-13 20:15:29 +00004192002-09-28 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
420
421 * vty.c (vty_flush): One line more on vty.
422
4232002-09-27 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
424
425 * vector.c (vector_lookup): Add new function.
426
4272002-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
428
429 * thread.c (timeval_adjust): Fix unconditional crush due to
430 FreeBSD's select() system call timeval value check.
431
4322002-07-07 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
433
434 * zebra-0.93 released.
435
4362002-06-21 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
437
438 * if.c (ifc_pointopoint): Add ifc_pointopoint() accoding to Frank
439 van Maarseveen's suggestion.
440
4412002-06-18 Kunihiro Ishiguro <kunihiro@zebra.org>
442
443 * command.c: Change bcopy() to memcpy().
444
4452001-12-12 Kunihiro Ishiguro <kunihiro@zebra.org>
446
447 * command.c (config_password): Fix host.password clear bug.
448 Reported by Wang Jian <lark@linux.net.cn>.
449
4502001-08-29 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
451
452 * thread.c (thread_should_yield): New function to check thread
453 should yeild it's execution to other thread. Suggested by: Rick
454 Payne <rickp@ayrnetworks.com>
455
4562001-08-20 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
457
458 * thread.c (thread_timer_cmp): Rewrite function.
459
460 * hash.c: Add hash_get(). Change hash_pull() to hash_release().
461
4622001-08-19 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
463
464 * zebra-0.92a released.
465
4662001-08-15 Kunihiro Ishiguro <kunihiro@ipinfusion.com>
467
468 * zebra-0.92 released.
469
4702001-08-12 Akihiro Mizutani <mizutani@dml.com>
471
472 * prefix.c (netmask_str2prefix_str): Convert "1.1.0.0 255.255.0.0"
473 string to "1.1.0.0/16".
474
4752001-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
476
477 * filter.c (access_list_lookup): access_list_lookup's first
478 argument is changed from address family to AFI.
479
480 * plist.c: (prefix_list_lookup): Likewise.
481
4822001-07-27 Akihiro Mizutani <mizutani@dml.com>
483
484 * plist.c: ge and le display order is changed. Old compatible
485 rule (len <= ge-value <= le-value) is removed.
486
4872001-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
488
489 * prefix.h: Temporary fix for alignment of prefix problem.
490
4912001-06-21 Kunihiro Ishiguro <kunihiro@zebra.org>
492
493 * prefix.h (struct prefix): Remove safi and padding field.
494 (struct prefix_ipv4): Likewise.
495 (struct prefix_ipv6): Likewise.
496 (struct prefix_ls): Likewise.
497 (struct prefix_rd): Likewise.
498
499 * command.h (enum node_type): Preparation for BGP new config.
500
501 * vty.c (vty_end_config): Likewise.
502
5032001-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
504
505 * routemap.c (route_map_rule_delete): Call func_free when
506 route-map rule is deleted.
507
5082001-06-14 "Akihiro Mizutani" <mizutani@dml.com>
509
510 * routemap.c (route_map_index_lookup): Prevent to use deny and
511 permit for same route-map sequence.
512
5132001-04-12 Kunihiro Ishiguro <kunihiro@zebra.org>
514
515 * vty.c (vty_read_config): Fix warning.
516
5172001-03-08 Kunihiro Ishiguro <kunihiro@zebra.org>
518
519 * command.c (IPV6_PREFIX_STR): Add '.' and '%' for IPv6 address
520 strings.
521
5222001-03-07 Kunihiro Ishiguro <kunihiro@zebra.org>
523
524 * zebra.h (_XPG4_2): Define _XPG4_2 and __EXTENSIONS__ for
525 CMSG_FIRSTHDR.
526
5272001-03-07 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
528
529 * zebra.h (struct in_pktinfo): structure in_pktinfo declaration.
530
5312001-02-19 Kunihiro Ishiguro <kunihiro@zebra.org>
532
533 * memory.c (memory_list_lib): Add MTYPE_NEXTHOP for "show memory
534 lib" member.
535
5362001-02-13 Matthew Grant <grantma@anathoth.gen.nz>
537
538 * vty.c (vty_read_config): Revert check of integrate_default when
539 VTYSH is defined.
540
5412001-02-13 Kunihiro Ishiguro <kunihiro@zebra.org>
542
543 * vty.c (vty_read_config): Do not check integrate_default. That
544 should be used only by vtysh.
545
5462001-02-08 Matthew Grant <grantma@anathoth.gen.nz>
547
548 * vty.c (vty_serv_un): Set umask 0077.
549 (vty_read_config): Stat for vtysh Zebra.conf, if found startup and
550 wait for boot configuration.
551
552 * if.c (if_lookup_address): Make it smart implementation.
553
554 * sockopt.c (setsockopt_multicast_ipv4): Set up a multicast socket
555 options for IPv4 This is here so that people only have to do their
556 OS multicast mess in one place rather than all through zebra,
557 ospfd, and ripd .
558
5592001-02-04 Akihiro Mizutani <mizutani@dml.com>
560
561 * plist.c (vty_prefix_list_install): Even when argument is
562 invalid, new memory is allocated. Now memory allocation is done
563 after argument check.
564
5652001-02-01 Kunihiro Ishiguro <kunihiro@zebra.org>
566
567 * zebra-0.91 is released.
568
5692001-01-31 Akihiro Mizutani <mizutani@dml.com>
570
571 * vty.c (vty_login): Add vty login command.
572
5732001-01-31 Kunihiro Ishiguro <kunihiro@zebra.org>
574
575 * vty.c (vty_reset): Close accept socket.
576
5772001-01-30 Kunihiro Ishiguro <kunihiro@zebra.org>
578
579 * memory.h (enum): MTYPE_ATTR_TRANSIT is added for unknown transit
580 attribute.
581
5822001-01-22 Kunihiro Ishiguro <kunihiro@zebra.org>
583
584 * zclient.c (zebra_interface_address_add_read): Fetch interface
585 address flag.
586 (zebra_interface_address_delete_read): Likewise.
587
5882001-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
589
590 * table.c (route_node_match_ipv4): Utility function for IPv4
591 address lookup.
592 (route_node_match_ipv6): Utility function for IPv4 address lookup.
593
5942001-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
595
596 * if.c: Delete RIP_API part until new implementation comes out.
597
5982001-01-13 Kunihiro Ishiguro <kunihiro@zebra.org>
599
600 * hash.h (struct Hash): Rename alloc to count. Change type to
601 unsigned long.
602
603 * stream.c (stream_getc_from): New function.
604 (stream_getw_from): Likewise.
605
606 * zebra.h (ZEBRA_FLAG_STATIC): Add new flag for persistent route.
607
6082001-01-11 Kunihiro Ishiguro <kunihiro@zebra.org>
609
610 * flap.c: File is removed.
611
612 * flap.c: Likewise.
613
614 * roken.h: Likewise.
615
616 * buffer.c (buffer_new): Remove type option to buffer_new().
617
6182001-01-10 Kunihiro Ishiguro <kunihiro@zebra.org>
619
620 * zclient.c (zapi_ipv4_delete): Remove OLD_RIB part.
621
6222001-01-09 Kunihiro Ishiguro <kunihiro@zebra.org>
623
624 * zebra-0.90 is released.
625
626 * command.c: Update Copyright year.
627
6282001-01-09 Matthew Grant <grantma@anathoth.gen.nz>
629
630 * if.c (if_create): Register connected_free() function for
631 deletion.
632 (if_delete): Free connected information when the interface is
633 deleted.
634 (if_lookup_by_index): Fix argument type from int to unsigned int.
635 (connected_add): Keep list in order if old info found, essential
636 for repeatable operation in some daemons.
637
6382001-01-09 endo@suri.co.jp (Masahiko Endo)
639
640 * vty.c (vty_flush): When vty->statis is VTY_CLOSE do not add vty
641 read thread.
642
6432001-01-08 Kunihiro Ishiguro <kunihiro@zebra.org>
644
645 * filter.c (access_list_delete): Access-list name is not freed.
646
647 * plist.c (prefix_list_delete): Prefix-list name is not freed.
648
6492000-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
650
651 * zclient.c (zclient_start): Change to use UNIX domain
652 socket for zebra communication.
653
654 * vector.c (vector_init): vector_alloc and vector_data_alloc is
655 removed. All memory allocation count should be maintained by
656 XMALLOC and XFREE macros.
657
6582000-12-28 Kunihiro Ishiguro <kunihiro@zebra.org>
659
660 * zebra.h (ZEBRA_NEXTHOP_IFINDEX): Define ZEBRA_NEXTHOP_* values.
661
6622000-12-27 Kunihiro Ishiguro <kunihiro@zebra.org>
663
664 * zebra.h (ZEBRA_ERR_RTEXIST): Make zebra error code to negative
665 value.
666
6672000-12-25 "Wataru Uno" <wataru@po.ntts.co.jp>
668
669 * vty.c (vtysh_read): Don't allocate new buffer because buffer is
670 allocated in vty_new ().
671
6722000-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
673
674 * memory.h (enum): Add MTYPE_AS_FILTER_STR.
675
676 * command.c (config_write_terminal): Display "end" at the end of
677 configuration.
678
679 * plist.c (vty_prefix_list_install): Use AF_INET to determine
680 lenum length.
681
6822000-12-13 "Wataru Uno" <wataru@po.ntts.co.jp>
683
684 * buffer.c (buffer_flush_vty): If IOV_MAX defined in the System,
685 then all lines write by IOV_MAX.
686
6872000-12-12 Michael Rozhavsky <mrozhavsky@opticalaccess.com>
688
689 * command.c (config_write_file): Robust method for writing
690 configuration file and recover from backing up config file.
691
6922000-11-29 Kunihiro Ishiguro <kunihiro@zebra.org>
693
694 * smux.c (smux_connect): More fail check.
695 (smux_trap): When SMUX connection is not established, do nothing.
696
6972000-11-28 Gleb Natapov <gleb@nbase.co.il>
698
699 * thread.c (thread_fetch): Execut event list first. Old event
700 list is renamed to ready list. With this change, event thread is
701 executed before any other thread.
702
703 * thread.h (struct thread_master): Add ready list.
704
7052000-11-28 Kunihiro Ishiguro <kunihiro@zebra.org>
706
707 * linklist.c (listnode_add_after): Add node right after the
708 listnode pointer.
709
7102000-11-27 Kunihiro Ishiguro <kunihiro@zebra.org>
711
712 * smux.h: Pass struct variable to WriteMethod.
713
7142000-11-25 Frank van Maarseveen <F.vanMaarseveen@inter.NL.net>
715
716 * if.c (if_lookup_address): When looking up interface with IP
717 address, Sometimes multiple interfaces will match. Now PtP
718 interfaces prevail in such a case which seem the right thing to
719 do: There will probably also be host routes which usually prevail
720 over network routes.
721
7222000-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
723
724 * smux.c (smux_trap): SMUX trap implementation.
725
7262000-11-19 Akihiro Mizutani <mizutani@dml.com>
727
728 * plist.c: Add automatic conversion function of an old rule.
729 ex.) 10.0.0.0/8 ge 8 -> 10.0.0.0/8 le 32
730
7312000-11-16 Yon Uriarte <ukl2@rz.uni-karlsruhe.de>
732
733 * zclient.c (zebra_interface_add_read): Read hardware address when
734 hw_addr_len is greater than 0.
735
7362000-11-15 Akihiro Mizutani <mizutani@dml.com>
737
738 * plist.c: The rule of "len <= ge-value <= le-value"
739 was changed to "len < ge-value <= le-value".
740
7412000-11-09 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
742
743 * memory.[ch]: Added #define and functions for ospf6d.
744
745 * log.[ch]: some platform says that the data of used va_list
746 is undefined. Changed to hold list of va_list for each
747 vsnprintf.
748
7492000-11-07 Rick Payne <rickp@rossfell.co.uk>
750
751 * memory.h (enum): Add MTYPE_COMMUNITY_REGEXP.
752
7532000-11-06 Kunihiro Ishiguro <kunihiro@zebra.org>
754
755 * command.c (config_exit): Fix bug of missing break after case
756 BGP_VPNV4_NODE.
757
7582000-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
759
760 * vector.c (vector_unset): Check i is not nevative.
761
7622000-10-24 Arkadiusz Miskiewicz <misiek@pld.org.pl>
763
764 * smux.c (smux_sock): Set terminating '\0'. Check address family.
765
766 * vty.c (vty_serv_sock_addrinfo): Set terminating '\0'. Use
767 gai_strerror. Check address family.
768
7692000-10-23 Jochen Friedrich <jochen@scram.de>
770
771 * smux.c: Use linklist rather than vector.
772 (smux_getnext): A SMUX subagent has to behave as if it manages the
773 whole SNMP MIB tree itself. It's the duty of the master agent to
774 collect the best answer and return it to the manager. See RFC 1227
775 chapter 3.1.6 for the glory details :-). ucd-snmp really behaves
776 bad here as it actually might ask multiple times for the same
777 GETNEXT request as it throws away the answer when it expects it in
778 a different subtree and might come back later with the very same
779 request.
780
7812000-10-23 Kunihiro Ishiguro <kunihiro@zebra.org>
782
783 * command.c (cmd_init): Log related command are only installed for
784 terminal mode.
785
7862000-10-21 Kunihiro Ishiguro <kunihiro@zebra.org>
787
788 * Makefile.am (libzebra_a_SOURCES): Remove duplicated buffer.c.
789
790 * zebra.h: Remove #warn directive.
791
7922000-10-20 Kunihiro Ishiguro <kunihiro@zebra.org>
793
794 * keychain.c (keychain_init): Register "key chain" command to
795 KEYCHAIN_NODE and KEYCHAIN_KEY_NODE.
796
797 * vty.c (vty_end_config): Fix missing vty_cinfig_unlock for other
798 CONFIG_NODE.
799
800 * command.c (config_end): Likewise.
801
802 * keychain.c (keychain_get): Key is sorted by it's identifier
803 value.
804
8052000-10-19 Kunihiro Ishiguro <kunihiro@zebra.org>
806
807 * linklist.c (list_delete_all_node): Call delete function if it is
808 defined.
809
810 * command.c (cmd_execute_command_strict): Add modification for
811 vtysh.
812 (cmd_execute_command_strict): Remove first argument cmdvec because
813 it is global varibale in command.c.
814
8152000-10-18 Kunihiro Ishiguro <kunihiro@zebra.org>
816
817 * command.c (cmd_init): Install
818 copy_runningconfig_startupconfig_cmd only in terminal mode.
819
820 * linklist.c (list_delete_node): Simplify the function.
821 (listnode_lookup): Renamed from list_lookup_node.
822
8232000-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
824
825 * stream.h: Undef stream_read and stream_write without
826 parenthesis.
827
828 * newlist.c: File removed.
829
830 * newlist.h: Likewise.
831
832 * linklist.c (list_new): Remove list_init(). To allocate new
833 linked list, please use list_new().
834 (listnode_add): Remove list_add_node(). To add new node to linked
835 list, please use listnode_add().
836 (list_delete_by_val): Revemove fucntion.
837
8382000-10-16 Nobuaki Tanaka <nobby@po.ntts.co.jp>
839
840 * table.c (route_table_free): Reimplement route_table_free().
841
8422000-10-11 Kunihiro Ishiguro <kunihiro@zebra.org>
843
844 * keychain.c (keychain_get): Register key_delete_func to key
845 list's delete function. Use linklist.c instead of newlist.c.
846
8472000-10-04 Akihiro Mizutani <mizutani@dml.com>
848
849 * filter.c (access_list_remark): Add access-list's remark command.
850 (no_access_list): "no access-list 100 permit any" error message
851 bug is fixed.
852
8532000-10-03 Kunihiro Ishiguro <kunihiro@zebra.org>
854
855 * memory.h (enum): Add MTYPE_SOCKUNION.
856
8572000-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
858
859 * zebra-0.89 is released.
860
8612000-10-01 Kunihiro Ishiguro <kunihiro@zebra.org>
862
863 * linklist.c (list_add_node_head): Delete unused function.
864 (list_add_node_tail): Likewise.
865
8662000-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
867
868 * stream.c (stream_read_unblock): Add new function for unblocking
869 read.
870
8712000-09-26 Jochen Friedrich <jochen@nwe.de>
872
873 * smux.c (smux_register): Fix bug of can't register more than one
874 MIB with SMUX.
875
8762000-09-26 Makoto Otsuka <otsuka@inl.ntts.co.jp>
877
878 * vty.c (vty_close): Fix memory leak of sb_buffer.
879 (vty_new): Likewise.
880
8812000-09-21 steve@Watt.COM (Steve Watt)
882
883 * log.h: Do not declare zlog_priority[0] variable.
884
8852000-09-12 Kunihiro Ishiguro <kunihiro@zebra.org>
886
887 * linklist.h (struct _list ): Add member cmp for compare function.
888 (struct _list ): Member up is deleted
889
8902000-09-12 David Lipovkov <dlipovkov@OpticalAccess.com>
891
892 * if.c: Include RIP_API header when RIP API is enabled.
893
8942000-09-10 Kunihiro Ishiguro <kunihiro@zebra.org>
895
896 * prefix.c (prefix_free): Siplify prefix_free().
897
898 * keychain.c (key_match_for_accept): strncmp check bug is fixed.
899
9002000-09-07 Kunihiro Ishiguro <kunihiro@zebra.org>
901
902 * zebra.h: Merge roken.h into zebra.h.
903
9042000-09-05 Akihiro Mizutani <mizutani@dml.com>
905
906 * routemap.c (route_map_init_vty): Install route-map command to
907 RMAP_NODE.
908
9092000-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
910
911 * thread.c (thread_get_id): Remove pthread related garbage.
912
913 * command.h (struct host): Likewise.
914
915 * zebra.h: Likewise.
916
9172000-08-20 Kunihiro Ishiguro <kunihiro@zebra.org>
918
919 * command.h (node_type ): Add AAA node for authentication.
920
921 * vty.c (vty_close): Do not close stdout.
922
9232000-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
924
925 * vty.c (vty_init_vtysh): Added for vtysh.
926
927 * distribute.c (districute_list_prefix_all): Interface independent
928 filter can be set.
929 (distribute_list_all): Likewise.
930 (config_show_distribute): Display current distribute-list status
931 for "show ip protocols".
932
9332000-08-18 Akihiro Mizutani <mizutani@dml.com>
934
935 * command.c (config_terminal_no_length): no terminal monitor ->
936 terminal no monitor
937 (cmd_init): Do not install service_terminal_length_cmd into
938 ENABLE_NODE.
939
940 * vty.c (terminal_no_monitor): no terminal length -> terminal no
941 length.
942
9432000-08-17 Kunihiro Ishiguro <kunihiro@zebra.org>
944
945 * zebra-0.88 is released.
946
9472000-08-17 Magnus Ahltorp <ahltorp@nada.kth.se>
948
949 * vty.h (struct vty ): Add iac_sb_in_progress and sb_buffer for
950 better IAC handling.
951
952 * vty.c (vty_telnet_option): Change telnet option handling.
953
9542000-08-15 Gleb Natapov <gleb@nbase.co.il>
955
956 * zclient.c (zclient_redistribute_unset): New function added.
957
9582000-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
959
960 * zclient.c (zebra_interface_add_read): Change ifindex restore
961 size from two octet to four.
962 (zebra_interface_state_read): Likewise.
963 (zebra_interface_address_add_read): Likewise.
964
9652000-08-13 Kunihiro Ishiguro <kunihiro@zebra.org>
966
967 * vty.c (vty_event): Use vector_set_index() instead of
968 vector_set().
969
9702000-08-07 Kunihiro Ishiguro <kunihiro@zebra.org>
971
972 * zebra.h (ZEBRA_XXX_DISTANCE_DEFAULT): Define Default
973 Administrative Distance of each protocol.
974
9752000-08-07 Matthew Grant <grantma@anathoth.gen.nz>
976
977 * if.h (struct interface ): Add new member bandwidth to struct
978 interface.
979
980 * zclient.c (zebra_interface_add_read): Fetch bandwidth value.
981 (zebra_interface_state_read): Likewise.
982
9832000-08-07 Gleb Natapov <gleb@nbase.co.il>
984
985 * routemap.c (route_map_event_hook): New hook route_map_event_hook
986 is added. This hook is called when route-map is changed. The
987 parameters passed to the hook are 'event' and 'route-map name'
988
989 * routemap.h: Add prototype for route_map_event_hook().
990
9912000-08-06 Kunihiro Ishiguro <kunihiro@zebra.org>
992
993 * zclient.c (zebra_ipv4_route): zebra_ipv4_route(),
994 zebra_ipv4_add(), zebra_ipv4_delete() are removed.
995
996 * routemap.c (route_map_empty): Add new function.
997 (route_map_delete): Use route_map_index_delete() instead of
998 route_map_index_free().
999 (route_map_index_free): Function removed.
1000
10012000-08-06 Gleb Natapov <gleb@nbase.co.il>
1002
1003 * routemap.c (route_map_index_delete): Add check for route-map is
1004 empty or not.
1005
10062000-08-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1007
1008 * zclient.c (zebra_ipv4_add): Change socket arguemnt with struct
1009 zclient.
1010
10112000-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1012
1013 * zclient.h (struct zebra): Add obuf for output buffer.
1014
1015 * if.c: Remove #ifdef NRL enclosing if_nametoindex() and
1016 if_indextoname().
1017
10182000-08-02 David Lipovkov <davidl@nbase.co.il>
1019
1020 * if.h (IF_PSEUDO_UNSET): IF_PSEUDO related macro added.
1021 (IF_UNKNOWN_SET): IF_UNKNOWN related macro deleted.
1022
1023 * if.c (interface_pseudo): Add "pseudo" command to interface node.
1024 (no_interface_pseudo): Add "no pseudo" command to interface node.
1025
1026 * zclient.c (zebra_interface_add_read): Set pseudo flag when it is
1027 send from zebra.
1028
10292000-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1030
1031 * zebra.h (ZEBRA_IPV4_NEXTHOP_LOOKUP): Add new message.
1032 (ZEBRA_IPV6_NEXTHOP_LOOKUP): Likewise.
1033
1034 * vty.c (vty_serv_un): Use AF_UNIX for backward compatibility.
1035
10362000-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1037
1038 * vty.c: Use vector for VTY server thread listing instead of
1039 single value.
1040
10412000-07-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1042
1043 * keychain.c (no_key_chain): "no key chain WORD" command is added.
1044
10452000-07-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1046
1047 * command.c (config_from_file): If command fail in
1048 KEYCHAIN_KEY_NODE, down to KEYCHAIN_NODE.
1049
1050 * vty.h (struct vty ): Add index_sub member.
1051
10522000-07-27 Akihiro Mizutani <mizutani@dml.com>
1053
1054 * if.c: Help strings updates.
1055
10562000-07-11 Akihiro Mizutani <mizutani@dml.com>
1057
1058 * command.c (no_config_enable_password): Add "no enable password"
1059 command.
1060 (config_write_host): Display password string.
1061
1062 * routemap.c (route_map_delete_match): Add support for delete
1063 match without argument.
1064 (route_map_delete_set): Likewise.
1065
10662000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1067
1068 * command.h (node_type ): Change KEYCHAIN_NODE and
1069 KEYCHAIN_KEY_NODE place just before INTERFACE_NODE.
1070
10712000-07-09 Jochen Friedrich <jochen@scram.de>
1072
1073 * smux.c (config_write_smux): Fixes the option to override OID and
1074 password for SMUX.
1075
10762000-07-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1077
1078 * command.h (node_type ): Add SMUX_NODE for SMUX configuration.
1079
10802000-07-09 Toshiaki Takada <takada@zebra.org>
1081
1082 * command.c: Sort descvec command's help.
1083
1084 * vty.c (vty_describe_command): Display '<cr>' at the end of
1085 descriptions.
1086
10872000-07-05 Toshiaki Takada <takada@zebra.org>
1088
1089 * command.c (cmd_ipv6_match), (cmd_ipv6_prefix_match): Fix bug
1090 treatment of double colon.
1091
10922000-07-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1093
1094 * zclient.h: Add zclient_redistribute_default_{set,unset}().
1095
1096 * keychain.c: New file for authentication key management.
1097 * keychain.h: Likewise.
1098
1099 * tcpfilter.c: New file for TCP/UDP base filtering using ipfw or
1100 ipchains.
1101 * tcpfilter.h: Likewise.
1102
1103 * flap.h: New file for route flap dampening.
1104 * flap.c: Likewise.
1105
11062000-07-04 Toshiaki Takada <takada@zebra.org>
1107
1108 * filter.c (struct filter): Add exact flag.
1109 (access_list): Add exact-match command.
1110 (ipv6_access_list): Add exact-match command.
1111
11122000-07-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1113
1114 * zebra.h (ZEBRA_REDISTRIBUTE_DEFAULT_ADD): New message for
1115 request default route.
1116
11172000-07-01 Hideaki YOSHIFUJI ($B5HF#1QL@(B) <yoshfuji@ecei.tohoku.ac.jp>
1118
1119 * smux.c: Add IPv6 smux connection code.
1120
11212000-06-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1122
1123 * vty.c (vty_complete_command): To cooperate readline library,
1124 returned string is newly allocated. So some match function case
1125 need, free of memory.
1126
11272000-06-12 Akihiro Mizutani <mizutani@dml.com>
1128
1129 * distribute.c: Fix help strings.
1130
11312000-06-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1132
1133 * command.c (cmd_complete_command): Add check for vector_slot
1134 (vline, index) is not NULL when calculating lcd.
1135 (cmd_entry_function): First check variable arguemnt to prevent it
1136 from completion.
1137
11382000-06-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1139
1140 * vty.h (struct vty ): Add output_count member for displaying
1141 output route count. Remove arugment arg from output_func because
1142 the value is passed by vty argument. Change output to output_rn.
1143 Add output_clean function pointer member. Add output_type member.
1144
11452000-06-10 Toshiaki Takada <takada@zebra.org>
1146
1147 * command.c (show_startup_config): Add "show startup-config"
1148 command.
1149
11502000-06-06 Akihiro Mizutani <mizutani@dml.com>
1151
1152 * filter.c: Fix help strings.
1153
11542000-06-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1155
1156 * prefix.h (struct prefix_rd): New prefix structure for routing
1157 distinguisher.
1158 (struct prefix): Add padding to every prefix structure.
1159
1160
1161 * routemap.c (route_map_add_match): When completely same match
1162 statement exists, don't duplicate it.
1163
11642000-06-05 Akihiro Mizutani <mizutani@dml.com>
1165
1166 * routemap.c: Change NAME to WORD.
1167
1168 * plist.c: Fix help strings.
1169
11702000-06-02 Akihiro Mizutani <mizutani@dml.com>
1171
1172 * routemap.c: Fix route-map help strings.
1173
11742000-06-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1175
1176 * command.c (cmd_filter_by_completion): Fix CMD_VARARG treatment
1177 to filter other non vararg commands.
1178
1179 * routemap.c (route_map_init_vty): Use install_default() for
1180 install common commands into route-map node..
1181
11822000-06-01 Akihiro Mizutani <mizutani@dml.com>
1183
1184 * command.h (OSPF_STR): Macro added.
1185
11862000-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1187
1188 * command.c (cmd_complete_command): LCD completion must not modify
1189 installed command string.
1190
1191 * plist.c (ipv6_prefix_list): Fix wrong syntax definition. Change
1192 X:X::X:X to X:X::X:X/M.
1193
11942000-05-31 Toshiaki Takada <takada@zebra.org>
1195
1196 * vty.c (show_history): New defun added.
1197
11982000-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1199
1200 * command.h (CMD_COMPLETE_LIST_MATCH): New define for completion
1201 list. CMD_COMPLETE_MATCH is used for LCD completion.
1202
1203 * vty.c (vty_complete_command): Matched string's LCD is completed.
1204
1205 * command.c (cmd_lcd): New function for calculate LCD of matched
1206 strings.
1207
12082000-05-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1209
1210 * command.c (install_default): config_write_terminal_cmd,
1211 config_write_file_cmd, config_write_memory_cmd are added to
1212 default node.
1213
1214 * memory.c (memory_init): Divide show memory command into each
1215 sort.
1216
1217 * command.c (cmd_init): config_write_terminal_cmd,
1218 config_write_file_cmd, config_write_memory_cmd are added to
1219 CONFIG_NODE.
1220
1221 * routemap.c (route_map_index_free): New function.
1222 (no_route_map_all): New DEFUN for "no route-map NAME".
1223
1224 * filter.c (no_access_list_all): New DEFUN for delete access-list
1225 with NAME.
1226 (no_ipv6_access_list_all): Likewise.
1227
12282000-05-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1229
1230 * plist.c: Change IPV6_PREFIX to X:X::X:X. When "any" is
1231 specified, user can not use "ge" and "le" statement.
1232
12332000-05-22 Thomas Molkenbur <tmo@datus.datus.com>
1234
1235 * routemap.c (route_map_add_set): Fix bug of next pointer missing.
1236
1237 * table.c (route_table_free): Like wise.
1238
12392000-05-22 Toshiaki Takada <takada@zebra.org>
1240
1241 * vty.c (vty_stop_input): Set history pointer to the latest one.
1242
1243 * vty.c (vty_hist_add): Do not add command line history when input
1244 is as same as previous one.
1245
12462000-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1247
1248 * memory.h (enum): Add MTYPE_ECOMMUNITY and MTYPE_ECOMMUNITY_VAL.
1249
12502000-05-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1251
1252 * command.h (node_type ): Add BGP_VPNV4_NODE.
1253
12542000-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1255
1256 * vty.c (vtysh_accept): Add cast of struct sockaddr * to bind
1257 argument. Reported by: Vesselin Mladenov <mladenov@netbg.com>.
1258
1259 * filter.c (ipv6_access_list): Add IPv6 prefix example instead of
1260 IPv4 example. Reported by: Love <lha@s3.kth.se>.
1261
1262 * command.c (cmd_complete_command): Make it sure last element of
1263 matchvec is NULL. This fix problem which cause crush in
1264 vty_complete_command(). Reported by: JINMEI Tatuya
1265 <jinmei@isl.rdc.toshiba.co.jp>.
1266
12672000-04-28 Love <lha@s3.kth.se>
1268
1269 * prefix.h (struct prefix): Add padding.
1270
12712000-04-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1272
1273 * command.c (show_version): Update copyright year.
1274
12752000-04-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1276
1277 * routemap.c (route_map_apply): When map is NULL, return deny.
1278
12792000-04-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1280
1281 * filter.c (access_list_apply): When access is NULL, return deny.
1282
1283 * plist.c (prefix_list_apply): When plist is NULL, return deny.
1284
12852000-04-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1286
1287 * command.h (node_type ): Change RDISC_NODE to IRDP_NODE.
1288
12892000-04-18 Toshiaki Takada <takada@zebra.org>
1290
1291 * filter.[ch] (access_list_add_hook), (access_list_delete_hook):
1292 Add argument for hook function to give struct access_list *.
1293
12942000-04-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1295
1296 * plist.c (prefix_list_entry_match): In case of le nor ge is
1297 specified, exact match is performed.
1298 (prefix_list_entry_match): Add any entry matching check.
1299
13002000-04-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1301
1302 * vty.c (exec_timeout): Separate timeout setting to minutes and
1303 seconds.
1304 (no_exec_timeout): Add "no exec-timeout" command.
1305
1306 * vty.h (VTY_TIMEOUT_DEFAULT): Change default value from 300 to
1307 600.
1308
13092000-03-31 Jochen Friedrich <jochen@scram.de>
1310
1311 * smux.h (SMUX_CLOSE): The SMUX_CLOSE PDU is implicit integer, so
1312 it is a primitive encoding and not constructed.
1313
13142000-03-28 Toshiaki Takada <takada@zebra.org>
1315
1316 * memory.[ch] (enum): Add MTYPE_OSPF_EXTERNAL_INFO.
1317
13182000-03-26 Love <lha@s3.kth.se>
1319
1320 * zclient.c (zclient_read): Add nbytes size check for
1321 ZEBRA_HEADER_SIZE. Check return value of steam_read ().
1322
13232000-03-26 Rick Payne <rickp@rossfell.co.uk>
1324
1325 * routemap.c: Add flexible route-map commands such as on-match
1326 next, on-match goto N.
1327
1328 * routemap.h: Likewise
1329
13302000-03-23 Adrian Bool <aid@u.net.uk>
1331
1332 * command.c (config_log_trap): Add new command "log trap
1333 PRIORITY".
1334
13352000-03-14 Toshiaki Takada <takada@zebra.org>
1336
1337 * memory.c (struct memory_list): Add Link List and Link Node
1338 to view.
1339
1340 * memory.h (enum): Remove MTYPE_OSPF_EXTERNAL_ROUTE.
1341
13422000-01-20 Hideto Yamakawa <hideto.yamakawa@soliton.co.jp>
1343
1344 * str.c (snprintf): Fix bug of calling sprintf instead of
1345 vsprintf.
1346
13472000-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
1348
1349 * memory.h (enum): Add MTYPE_RIP_PEER.
1350
13512000-01-15 Toshiaki Takada <takada@zebra.org>
1352
1353 * memory.h (enum): Add MTYPE_OSPF_CRYPT_KEY.
1354
13552000-01-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1356
1357 * command.h (node_type ): Add MASC_NODE for masc.
1358
13592000-01-09 Wang Jianliang <wangjl@soim.net>
1360
1361 * routemap.c (route_map_index_add): When route_map_index is not
1362 empty and insert new item at the head, it can cause core dump.
1363 Fix "if (index == map->head)" to "if (point == map->head).
1364 (route_map_add_set): If there is an old set command, override old
1365 set command with new one.
1366 (route_map_index_delete): Use while() instead of for for() for
1367 logical correctness.
1368
13691999-12-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1370
1371 * memory.h (enum): Add MTYPE_BGP_STATIC.
1372
13731999-12-23 Alex Zinin <zinin@amt.ru>
1374 * zebra.h, zclient.*: dynamic int up/down message
1375 support
1376
13771999-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1378
1379 * thread.c (thread_cancel_event): Add a function for clean up
1380 events.
1381
13821999-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1383
1384 * dropline.c: Delete file.
1385 dropline.h: Linewise.
1386
13871999-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1388
1389 * filter.c (access_list_filter_delete): Wrong pointer
1390 access->master was pointed out after access is freed. I store
1391 master value at the beginning of the function.
1392
13931999-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1394
1395 * vty.c (exec_timeout): Change of VTY timeout affect to current
1396 VTY connection.
1397 (vty_accept): Instead of immediate exit() return -1.
1398
13991999-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
1400
1401 * vty.c (vty_configure_lock): Configuration lock function added.
1402 Only one VTY can use CONFI_NODE at the same time.
1403
1404 * log.c: Delete zvlog_* functions. Now zlog_* does the same
1405 thing.
1406
1407 * log.c (log_init): Function removed.
1408 (log_close): Likewise.
1409 (log_flush): Likewise.
1410 (log_open): Likewise.
1411
1412 * vty.c (terminal_monitor): Add new command.
1413 (no_terminal_monitor): Likewise.
1414
1415 * log.c (old_log): Function removed.
1416 (old_log2): Likewise.
1417 (old_log_warn): Likewise.
1418
14191999-12-04 Toshiaki Takada <takada@zebra.org>
1420
1421 * command.c (cmd_ipv6_match): New function added.
1422 (cmd_ipv6_prefix_match): Likewise.
1423
14241999-12-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1425
1426 * command.c (cmd_ipv6_match):
1427
1428 * table.c: Delete #ifdef HAVE_MBGPV4.
1429
1430 * prefix.h (struct prefix): Add safi member.
1431 (struct prefix_ipv4): Likewise.
1432 (struct prefix_ipv6): Likewise.
1433
14341999-12-04 Rumen Svobodnikov <rumen@linux.tu-varna.acad.bg>
1435
1436 * memory.c (struct mstat): Revert to support MEMORY_LOG.
1437
14381999-11-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1439
1440 * version.h: Bump up to 0.81c for testing new kernel codes.
1441
14421999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1443
1444 * thread.h (struct thread): Pthread support is disabled all
1445 platform.
1446
14471999-11-21 Michael Handler <handler@sub-rosa.com>
1448
1449 * Include <limits.h> and <strings.h> under SUNOS_5.
1450
14511999-11-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1452
1453 * sockunion.c (in6addr_cmp): Enclosed by #define HAVE_IPV6
14541999-11-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1455
1456 * command.h (node_type ): Add BGP_IPV4_NODE and BGP_IPV6_NODE.
1457
14581999-11-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1459
1460 * command.c (disable): Add `disable' command.
1461
14621999-11-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1463
1464 * plist.c (vty_prefix_list_install): Add any check.
1465
14661999-11-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1467
1468 * command.h (node_type ): Add DUMP_NODE.
1469
14701999-11-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1471
1472 * smux.c: Change default SMUX oid to compatible with gated.
1473
14741999-10-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1475
1476 * if_rmap.c: New file added.
1477
1478 * if_rmap.h: New file added.
1479
14801999-10-29 Alex Zinin <zinin@amt.ru>
1481
1482 * hash.c: add hash_free() function
1483
14841999-10-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1485
1486 * hash.c (hash_clean): Add clean function.
1487
1488 * plist.c (prefix_list_reset): Add reset function.
1489
1490 * filter.c (access_list_reset): Add reset function.
1491
14921999-10-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1493
1494 * client.c: Merged with zclient.c.
1495 * client.h: Merged with zclient.h.
1496
14971999-10-15 Jordan Mendelson <jordy@wserv.com>
1498
1499 * md5.c: Imported from GNU C Library.
1500 * md5-gnu.h: Likewise.
1501
15021999-10-15 Jochen Friedrich <jochen@scram.de>
1503
1504 * smux.c (smux_getresp_send): SMUX_GETRSP codes improvement.
1505
15061999-10-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1507
1508 * smux.h: New file added.
1509
1510 * snmp.c: Rename to smux.c.
1511
15121999-10-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1513
1514 * command.c (cmd_execute_command_strict): Filter ambious commands.
1515 (cmd_filter_by_string): Change to return enum match_type.
1516
15171999-10-01 Toshiaki Takada <takada@zebra.org>
1518
1519 * vty.c (vty_describe_fold): New function which does VTY
1520 description line fold.
1521 * vty.c (vty_describe_command): Set description column.
1522
15231999-09-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1524
1525 * plist.c (prefix_list_init_ipv4): VTY user interface is improved.
1526
15271999-09-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1528
1529 * command.c (cmd_filter_by_string): Fix bug of CMD_IPV4 and
1530 CMD_IPV4_PREFIX check. Both return type must be exact_match.
1531
15321999-09-24 Toshiaki Takada <takada@zebra.org>
1533
1534 * command.c (cmd_filter_by_completion),
1535 (is_cmd_ambiguous): Check IPv4 address, IPv4 prefix and range
1536 parameter matches range.
1537
15381999-09-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1539
1540 * routemap.c (route_map_apply): Returm RM_DENYMATCH when no match
1541 is performed.
1542
15431999-09-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1544
1545 * vty.c (vty_read): Control-C stop VTY_MORE mode.
1546
15471999-09-20 Kunihiro Ishiguro <kunihiro@zebra.org>
1548
1549 * command.h (node_type ): Add ACCESS_IPV6_NODE and
1550 PREFIX_IPV6_NODE.
1551
1552 * distribute.h: New file added.
1553
1554 * command.h (node_type ): Delete DISTRIBUTE_NODE.
1555
15561999-09-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1557
1558 * vty.c (vty_terminate_all): New function added for reload
1559 support.
1560
15611999-09-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1562
1563 * memory.h (enum): Add new type MTYPE_OSPF_EXTERNAL_ROUTE.
1564
15651999-08-31 Janos Farkas <chexum@shadow.banki.hu>
1566
1567 * vty.c (vty_read): Handle also 0x7f (alt-backspace), just like
1568 esc-ctrl-h (delete word backwards).
1569
15701999-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1571
1572 * if.h: Add if_nametoindex for NRL.
1573
15741999-08-23 Kunihiro Ishiguro <kunihiro@zebra.org>
1575
1576 * if.c (if_create): New function.
1577
15781999-08-22 Kunihiro Ishiguro <kunihiro@zebra.org>
1579
1580 * snmp.c: New file.
1581
15821999-08-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1583
1584 * stream.c (stream_put): stream_memcpy () is changed to stream_put
1585 (). stream_get () is added.
1586
15871999-08-18 Toshiaki Takada <takada@zebra.org>
1588
1589 * memory.h (enum): Add MTYPE_OSPF_LSA_DATA.
1590
15911999-08-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1592
1593 * table.c (route_table_finish): add function frees table.
1594
15951999-08-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1596
1597 * memory.h (enum): Add MTYPE_RTADV_PREFIX.
1598
15991999-08-11 Kunihiro Ishiguro <kunihiro@zebra.org>
1600
1601 * if.h (struct interface ): hw_address, hw_address_len added.
1602
16031999-08-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1604
1605 * if.h (struct interface ): Change structure member if_data to
1606 info, index to ifindex.
1607
16081999-08-08 Rick Payne <rickp@rossfell.co.uk>
1609
1610 * routemap.c: Multi protocol route-map modification.
1611
1612 * routemap.c (route_map_apply): Route match process bug is fixed.
1613
16141999-08-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1615
1616 * thread.c (thread_fetch): When signal comes, goto retry point.
1617
16181999-08-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1619
1620 * Makefile.am: Add sockopt.c and sockopt.h
1621 * sockopt.c: New file.
1622 * sockopt.h: New file.
1623
16241999-08-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1625
1626 * version.h (ZEBRA_VERSION): Release zebra-0.75
1627
16281999-08-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1629
1630 * memory.h (enum): Add MTYPE_RIPNG_AGGREGATE.
1631
16321999-07-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1633
1634 * sockunion.h: Add sockunion_getpeername ().
1635
16361999-07-27 Kunihiro Ishiguro <kunihiro@zebra.org>
1637
1638 * version.h: Release zebra-0.74
1639
16401999-07-26 Kunihiro Ishiguro <kunihiro@zebra.org>
1641
1642 * command.h (struct host): Delete lines from struct host. Add
1643 lines to struct vty.
1644
1645 * command.c: Delete `lines LINES'. Terminal display line settings
1646 should be done by `terminal length' command.
1647
16481999-07-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1649
1650 * memory.h (enum): MTYPE_OSPF_PATH are added.
1651
16521999-07-22 Toshiaki Takada <takada@zebra.org>
1653
1654 * memory.h (enum): MTYPE_OSPF_NEXTHOP is added.
1655
16561999-07-21 Toshiaki Takada <takada@zebra.org>
1657
1658 * linklist.c (list_add_node_prev), (list_add_node_next),
1659 (list_add_list): New function added.
1660
1661 * table.c (route_table_free): New function added.
1662
16631999-07-21 Kunihiro Ishiguro <kunihiro@zebra.org>
1664
1665 * plist.c (config_write_prefix): Set write flag when configuration
1666 is written.
1667
16681999-07-15 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1669
1670 * prefix.c : prefix_cmp() added. change apply_mask() to
1671 apply_mask_ipv4(), and new apply_mask() added.
1672
16731999-07-14 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1674
1675 * prefix.c (prefix2str): append prefixlen.
1676
16771999-07-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1678
1679 * command.c (config_terminal): Change "config terminal" to
1680 "configure terminal". Reported by Georg Hitsch
1681 <georg@atnet.at>.
1682 (config_terminal_length): `terminal length <0-512>' is added. At
1683 this moment this command is only usef for vty interface.
1684 Suggested by Georg Hitsch <georg@atnet.at>.
1685
16861999-07-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1687
1688 * routemap.c (rulecmp): Add wrapper function of strcmp.
1689
16901999-07-08 Rick Payne <rickp@rossfell.co.uk>
1691
1692 * sockunion.c (inet_aton): Fix bug of inet_aton.
1693
16941999-07-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1695
1696 * version.h (ZEBRA_VERSION): Start zebra-0.73
1697
16981999-07-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1699
1700 * version.h: Bump up to 0.72.
1701
17021999-07-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1703
1704 * command.c (install_default): New function for install default
1705 commands to the node.
1706
1707 * memory.h (enum): MTYPE_NEXTHOP is added.
1708
17091999-07-01 <kunihiro@zebra.org>
1710
1711 * command.c (no_banner_motd): `no banner motd' command added.
1712
17131999-06-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1714
1715 * regex.c: Update to glibc-2.1.1's posix/regex.c
1716
1717 * regex-gnu.h: Update to glibc-2.1.1's posix/regex.h
1718
1719 * prefix.h (IPV4_ADDR_SAME): Macro added.
1720 (IPV6_ADDR_SAME): Likewise.
1721
17221999-06-29 Kunihiro Ishiguro <kunihiro@zebra.org>
1723
1724 * memory.h (enum): Add MTYPE_OSPF_VERTEX
1725
1726 * version.h: Bump up to 0.71.
1727
1728 * vty.c (vty_serv_sock_addrinfo): Use addrinfo function to bind
1729 VTY socket when IPv6 is enabled.
1730
17311999-06-28 Kunihiro Ishiguro <kunihiro@zebra.org>
1732
1733 * vty.c (vty_serv_sock): Change vty_serv_sock determine which
1734 address family to bind.
1735
1736 * command.c: Add quit command.
1737
17381999-06-26 NOGUCHI kay <kay@dti.ad.jp>
1739
1740 * vty.c (vty_read_config): Fix bug of configuration file path
1741 detection.
1742
17431999-06-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1744
1745 * version.h: Bump up to 0.70.
1746
17471999-06-17 Kunihiro Ishiguro <kunihiro@zebra.org>
1748
1749 * buffer.h (GETL): Remove GETL macro.
1750
1751 * version.h: Bump up to 0.69.
1752
17531999-06-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1754
1755 * if.c (connected_add): Commented out connected_log.
1756
17571999-06-13 Kunihiro Ishiguro <kunihiro@zebra.org>
1758
1759 * command.h (struct cmd_element ): strvec and descvec is combined
1760 into newstrvec.
1761
1762 * command.c (desc_make): Function removed.
1763 (desc_next): Function removed.
1764
1765 * command.h (struct cmd_element ): docvec is removed from struct
1766 cmd_element.
1767
17681999-06-12 Kunihiro Ishiguro <kunihiro@zebra.org>
1769
1770 * command.c (cmd_execute_command): Remove command NULL check.
1771
1772 * command.h (struct cmd_element ): Add newstrvec entry to struct
1773 cmd_element.
1774 (DEFUN2): DEFUN2 macro is removed. DEFUN is extended to support
1775 (a|b|c) statement.
1776 (DESC): DESC macro is removed.
1777
1778 * vty.c (vty_complete_command): When return value is
1779 CMD_ERR_NO_MATCH, don't display error message.
1780
17811999-06-08 Kunihiro Ishiguro <kunihiro@zebra.org>
1782
1783 * table.c (route_next_until): New function.
1784
1785 * version.h: Bump up to 0.68.
1786
17871999-06-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1788
1789 * vty.c (vty_close): Free vty->buf when vty is closed.
1790
1791 * memory.h (enum): Add MTYPE_COMMUNITY_ENTRY and
1792 MTYPE_COMMUNITY_LIST.
1793
1794 * vty.h (struct vty ): Change buf from static length buffer to
1795 variable length buffer.
1796
1797 * vty.c (vty_ensure): New function added.
1798
17991999-06-04 Kunihiro Ishiguro <kunihiro@zebra.org>
1800
1801 * command.h (node_type ): Add COMMUNITY_LIST_NODE.
1802
1803 * command.c (config_enable_password): Freeing host.enable bug is
1804 fixed.
1805 (config_enable_password): Add argc count check.
1806
18071999-05-31 Kunihiro Ishiguro <kunihiro@zebra.org>
1808
1809 * version.h: Bump up to 0.67.
1810
18111999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1812
1813 * command.c (zencrypt): New function for encrypt password.
1814
1815 * command.h (struct host): Add password_encrypt and
1816 enable_encrypt.
1817
18181999-05-30 Jochen Friedrich <jochen@scram.de>
1819
1820 * command.h (struct host): New member encrypt is added for
1821 encrypted password.
1822
18231999-05-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1824
1825 * vty.c: Remove all_digit_check function. Instead use all_digit.
1826
1827 * prefix.c (all_digit): New function for checking string is made
1828 from digit character.
1829
18301999-05-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1831
1832 * Makefile.am (libzebra_a_SOURCES): Add zclient.c.
1833 (noinst_HEADERS): Add zclient.h
1834
1835 * zclient.[ch]: New file for zebra client routine.
1836
1837 * memory.h (enum): Add MTYPE_ZEBRA.
1838
18391999-05-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1840
1841 * version.h (ZEBRA_VERSION): Update to 0.66.
1842
18431999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1844
1845 * buffer.h (GETC,GETW): Macro deleted.
1846
18471999-05-15 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1848
1849 * prefix.h (IPV4_NET0, IPV4_NET127): Macro added.
1850
18511999-05-15 Kunihiro Ishiguro <kunihiro@zebra.org>
1852
1853 * vty.c (service_advanced_vty): New command added.
1854 (no_service_advanced_vty): Likewise.
1855
18561999-05-14 Kunihiro Ishiguro <kunihiro@zebra.org>
1857
1858 * vty.c (vty_auth): If advanced flag is set and enable password is
1859 not set, directly login to the ENABLE_NODE. This feature is
1860 originally designed and implemented by Stephen R. van den Berg
1861 <srb@cuci.nl>.
1862
1863 * command.h (host): Add advanced flag to struct host for advanced
1864 vty terminal interface.
1865
1866 * version.h (ZEBRA_VERSION): Update to 0.65 for next beta release.
1867
18681999-05-14 Stephen R. van den Berg <srb@cuci.nl>
1869
1870 * command.h (node_type ): Add TABLE_NODE.
1871
1872 * vty.c (vty_telnet_option): Check host.lines value.
1873
1874 * command.c (config_lines): DEFUN for 'lines LINES' command.
1875
1876 * zebra.h: Include <sys/utsname.h> for uname().
1877 (RT_TABLE_MAIN): Defined as 0 if OS does not support multiple
1878 routing table.
1879
1880 * vty.c (vty_auth): Directly login to the ENABLE_NODE when enable
1881 password is not set.
1882 (vty_prompt): Get machine's hostname when hostname is not set.
1883
18841999-05-11 James Willard <james@whispering.org>
1885
1886 * command.c (config_exit): Close connection when `exit' command is
1887 executed at ENABLE_NODE.
1888
18891999-05-10 Kunihiro Ishiguro <kunihiro@zebra.org>
1890
1891 * vty.c (vty_stop_input): `C-c' key change node to ENABLE_NODE.
1892
1893 * command.c (cmd_execute_command_strict): Matched command size
1894 check added.
1895 (cmd_make_desc_line): New function for DEFUN2.
1896
1897 * command.h (struct cmd_element ): Add descsize.
1898
18991999-05-09 Kunihiro Ishiguro <kunihiro@zebra.org>
1900
1901 * command.h (struct cmd_element ): Remame descvec to docvec.
1902 (struct cmd_element ): Add descvec for new description system.
1903
1904 * command.c (desc_make): Check cmd->descvec.
1905
19061999-05-06 Kunihiro Ishiguro <kunihiro@zebra.org>
1907
1908 * memory.h (enum): Add MTYPE_CLUSTER, MTYPE_CLUSTER_VAL.
1909
19101999-05-05 Kunihiro Ishiguro <kunihiro@zebra.org>
1911
1912 * version.h (ZEBRA_VERSION): Bump up to 0.64 for next beta
1913 release.
1914
19151999-05-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1916
1917 * linklist.c (list_delete_all_node): bug fix.
1918 previous code loses current position when node
1919 is deleted.
1920
19211999-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
1922
1923 * command.h (DESC): Macro added.
1924 (struct cmd_element2): Delete struct cmd_element2.
1925
1926 * plist.c (prefix_list): Sequential number option check is added.
1927
19281999-05-02 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
1929
1930 * log.c (zvlog_{debug,info,notice,warn,err}): have been
1931 added. now we can log both console and file, but still
1932 need some fix about config write.
1933
19341999-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
1935
1936 * log.c (zvlog_debug): Fix yasu's change.
1937
19381999-05-01 Kunihiro Ishiguro <kunihiro@zebra.org>
1939
1940 * plist.c (prefix_list): Fix typo.
1941
19421999-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
1943
1944 * Set version to 0.63 for first beta package.
1945
19461999-04-27 Carlos Barcenilla <barce@frlp.utn.edu.ar>
1947
1948 * prefix.c (str2prefix_ipv4): Fix prefix length check.
1949 (str2prefix_ipv6): Likewise.
1950
19511999-04-25 Kunihiro Ishiguro <kunihiro@zebra.org>
1952
1953 * memory.h (enum): Add MTPYE_PREFIX_LIST and
1954 MTYPE_PREFIX_LIST_ENTRY.
1955
1956 * command.h (node_type ): Add PREFIX_NODE.
1957
19581999-04-25 Carlos Barcenilla <barce@frlp.utn.edu.ar>
1959
1960 * command.c: ALIAS (config_write_memory_cmd) and ALIAS
1961 (copy_runningconfig_startupconfig_cmd) is added.
1962
1963 * table.c (route_node_lookup): Unused match variable deletion.
1964
19651999-04-24 Kunihiro Ishiguro <kunihiro@zebra.org>
1966
1967 * Makefile.am (libzebra_a_SOURCES): plist.c added.
1968 (noinst_HEADERS): plist.h added.
1969
1970 * plist.c, plist.h: New file added.
1971
1972 * memory.h (enum): Rename MTYPE_AS_PASN to MTYPE_AS_STR.
1973 * memory.c: Likewise.
1974
19751999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1976
1977 * command.c (show_version): `show version' command added.
1978
19791999-04-19 Kunihiro Ishiguro <kunihiro@zebra.org>
1980
1981 * prefix.c (str2prefix_ipv6): Prefix length overflow check.
1982
19831999-04-19 Carlos Alberto Barcenilla <barce@frlp.utn.edu.ar>
1984
1985 * prefix.c (str2prefix_ipv4): Prefix length overflow check.
1986
19871999-04-19 Alex Bligh <amb@gxn.net>
1988
1989 * prefix.c (sockunion2hostprefix): Function added.
1990 (sockunion2prefix): Address family was not set. Now it is set.
1991
1992 * vty.c: VTY access-class command is added.
1993
19941999-04-18 Kunihiro Ishiguro <kunihiro@zebra.org>
1995
1996 * memory.c: Change xmalloc to zmalloc. xcalloc, xrealloc, xfree,
1997 xstrdup are likewise.
1998
19991999-04-18 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2000
2001 * thread.c: Add thread_execute for other routing daemon.
2002 OSPF tasks need to be generated by "sheduled" and "executed".
2003
20041999-04-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2005
2006 * buffer.c: Rewrite buffer_write and buffer_flush related
2007 functions for fixing bugs. Reason of the problem and fix is
2008 suggested by Alex Bligh <amb@gxn.net>.
2009
20101999-04-12 Alex Bligh <amb@gxn.net>
2011
2012 * command.c (cmd_entry_function_descr): Added for variable
2013 argument help display.
2014
20151999-04-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2016
2017 * regex.c, regex-gnu.h: Imported from GNU sed-3.02 distribution.
2018
20191999-03-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2020
2021 * stream.c: stream_fifo_free bug is fixed.
2022
20231999-03-19 Toshiaki Takada <takada@zebra.org>
2024
2025 * stream.c (stream_strncpy): Added for getting any length bytes
2026 from stream.
2027
20281999-03-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2029
2030 * version.h (ZEBRA_BUG_ADDRESS): New macro added.
2031
20321999-03-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2033
2034 * buffer.c (buffer_flush_window): If ep is same as buffer's size
2035 length and lp is overrun one octet.
2036
20371999-03-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2038
2039 * vty.h: add VTY's timeout function.
2040
20411999-03-05 <kunihiro@zebra.org>
2042
2043 * command.h (node_type ): Add OSPF6_node.
2044
20451999-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2046
2047 * zebra.h: Check HAVE_SYS_SELECT_H when include <sys/select.h>
2048
20491999-03-03 Jeroen Ruigrok/Asmodai <asmodai@wxs.nl>
2050
2051 * zebra.h: Include <net/if_var.h> if it exists.
2052
20531999-03-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2054
2055 * getopt.[ch],getopt1.c: Sync with glibc-2.1.
2056
2057 * log.c (zlog): Tempolary ZLOG_STDOUT feature added.
2058
2059 * command.h: Include vector.h and vty.h
2060
20611999-02-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2062
2063 * routemap.h (struct route_map_rule_cmd): Add prefix arguemnt.
2064
2065 * routemap.c (route_map_apply_index): Add prefix argument.
2066 (route_map_apply): Likewise.
2067
2068 * memory.h (enum): Add MTYPE_ROUTE_MAP_COMPILED.
2069
2070 * stream.c: Add stream_fifo related functions.
2071
20721999-02-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2073
2074 * daemon.c: Return integer value. File descriptor close is added.
2075
2076 * memory.h (enum): add MTYPE_OSPF_LSA.
2077
20781999-02-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2079
2080 * rsh.c: Remove empty file.
2081
20821999-02-22 <kunihiro@zebra.org>
2083
2084 * routemap.c: Add add/delete hook to route_map_master.
2085
20861999-02-19 Peter Galbavy <Peter.Galbavy@knowledge.com>
2087
2088 * str.[ch] added to supply wrappers for snprintf(), strlcat() and
2089 strlcpy on system without these.
2090
20911999-02-18 Peter Galbavy <Peter.Galbavy@knowledge.com>
2092
2093 * syslog support added
2094
20951999-02-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2096
2097 * filter.c (access_list_add_hook): added for hook function management.
2098 * filter.c (access_list_delete_hook): Likewise.
2099
21001999-01-19 Kunihiro Ishiguro <kunihiro@zebra.org>
2101
2102 * stream.c: New file.
2103 * stream.h: New file.
2104 * Divide stream related fucntions from buffer.[ch] into stream.[ch].
2105
21061999-01-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2107
2108 * memory.h (enum): add MTYPE_STREAM, MTYPE_STREAM_DATA
2109
2110 * buffer.c (stream_new): Set MTYPE_STREAM to XMALLOC argument.
2111
21121998-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2113
2114 * routemap.c: route_map_index_delete() added.
2115
21161998-12-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2117
2118 * buffer.c (buffer_empty): check cp instead of sp.
2119
21201998-12-17 Kunihiro Ishiguro <kunihiro@zebra.org>
2121
2122 * radix.[ch]: Deleted.
2123
21241998-12-15 Magnus Ahltorp <map@stacken.kth.se>
2125
2126 * buffer.c: Prototype fixes.
2127 * prefix.c: Likewise.
2128 * sockunion.c: Likewise.
2129 * sockunion.h: Likewise.
2130
21311998-12-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2132
2133 * vty.c (vty_read): DELETE key works as vty_delete_char.
2134
21351998-12-13 Kunihiro Ishiguro <kunihiro@zebra.org>
2136
2137 * log.c (time_print): chane %y to %Y.
2138
21391998-12-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2140
2141 * distribute.c: new file.
2142
21431998-12-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2144
2145 * filter.c: Remove all of struct prefix_{ipv4,ipv6} and add
2146 complete support of IPv6 access list.
2147
2148 * command.c (config_write_element): function delete.
2149 (config_write_host): function add. password and enable password
2150 isn't printed to vty interface.
2151
21521998-12-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2153
2154 * filter.c: Change prefix_ipv4 to prefix and add support of
2155 prefix_ipv6 filtering.
2156
21571998-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2158
2159 * Makefile.am (INCLUDES): add @INCLUDES@ for Linux IPv6 inet6-apps
2160 header includes.
2161
21621998-12-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2163
2164 * log.c (log_flush): fix function name typo.
2165
21661998-12-04 Yasuhiro Ohara <yasu@sfc.wide.ad.jp>
2167
2168 * memory.h: OSPF memory type is added.
2169
21701998-11-15 Kunihiro Ishiguro <kunihiro@zebra.org>
2171
2172 * command.c (sort_node): add sort_node() for pretty printing of
2173 command on vty interface.
2174 (config_password): delete the restriction of charaster of password
2175 string.
2176
21771998-09-05 Kunihiro Ishiguro <kunihiro@debian.zebra.org>
2178
2179 * prefix.c (prefix_ipv4_any): add prefix_ipv4_any().
2180
21811998-08-25 Kunihiro Ishiguro <kunihiro@zebra.org>
2182
2183 * network.h: New file.
2184
21851998-08-24 Kunihiro Ishiguro <kunihiro@zebra.org>
2186
2187 * vty.c (vty_will_echo): function name change from vty_off_echo.
2188
21891998-08-18 Kunihiro Ishiguro <kunihiro@zebra.org>
2190
2191 * buffer.h: add PUTC,PUTW,PUTL macros.
2192
21931998-07-22 Kunihiro Ishiguro <kunihiro@zebra.org>
2194
2195 * route.[ch]: renamed to prefix.[ch]
2196
21971998-06-09 Kunihiro Ishiguro <kunihiro@zebra.org>
2198
2199 * prefix_in, prefix_in6 is replaced by prefix_ipv4, prefix_ipv6.
2200
2201 * Makefile.am: @INCLUDES@ is deleted from INCLUDES.
2202
22031998-06-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2204
2205 * host.[ch]: merged with command.[ch]
2206
22071998-05-08 Kunihiro Ishiguro <kunihiro@zebra.org>
2208
2209 * Makefile.am (libzebra_a_SOURCES): add route.c to libzebra_a_SOURCES.
2210
22111998-05-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2212
2213 * route.c (str2prefix): str2prefix () is gone.
2214
22151998-05-03 Kunihiro Ishiguro <kunihiro@zebra.org>
2216
2217 * vty.c (vty_read_config): change CONDIR to SYSCONFDIR.
2218
2219 * .cvsignore: add file.
2220
2221 * memory.c (xerror): add arguent `type' and `size'.
2222
2223 * socket.c: deleted.
2224
22251998-05-02 Kunihiro Ishiguro <kunihiro@zebra.org>
2226
2227 * vector.c: malloc,free,realloc -> XMALLOC,XFREE,XREALLOC.
2228 * linklist.c: same as above.
2229
22301998-04-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2231
2232 * filter.[ch]: added.
2233
22341998-04-01 Kunihiro Ishiguro <kunihiro@zebra.org>
2235
2236 * vty.c (config_who): return CMD_SUCCESS
2237
22381998-04-01 Jochen Friedrich <jochen@scram.de>
2239
2240 * table.c (route_dump_node): route_dump_node is IPv6 specific
2241 function so move #ifdef to the end of route_dump_node ().
2242
22431998-03-05 "Hannes R. Boehm" <hannes@boehm.org>
2244
2245 * if.c: DEFUN(interface_desc) added.
2246
22471998-03-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2248
2249 * if.c: separated from ripd/rip_interface.c
2250
22511998-03-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2252
2253 * thread.[ch] : added.
2254
22551998-02-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2256
2257 * vty.c (vty_delete_char): fix size bug.
2258 (vty_backward_pure_word): function added.
2259 (vty_read): ESC + 'f' perform vty_forward_word.
2260 (vty_read): ESC + 'b' perform vty_backward_word.
2261
22621998-02-11 Kunihiro Ishiguro <kunihiro@zebra.org>
2263
2264 * radix.c (radix_lookup_rt): add mask check.
2265 (radix_delete_duproute): add mask check.
2266
22671998-02-10 Kunihiro Ishiguro <kunihiro@zebra.org>
2268
2269 * command.c (config_write_file): fix vty -> file_vty.
2270
22711998-02-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2272
2273 * command.c (cmd_filter_ambiguous): add complex type treatment.
2274
22751998-02-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2276
2277 * vty.c (vty_time_print): function added.
2278 (vty_complete_command): now [...] element isn't shown by completion.
2279
22801998-01-26 Kunihiro Ishiguro <kunihiro@zebra.org>
2281
2282 * command.c : change from cmd_install_node() to install_node().
2283
22841998-01-16 Kunihiro Ishiguro <kunihiro@zebra.org>
2285
2286 * route.[ch]: struct rt{} is replaced by struct prefix{}.
2287
22881998-01-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2289
2290 * command.c (cmd_execute_command): check command length.
2291
2292 * timer.c (zebra_timer_set): add zebra_timer_set.
2293
22941998-01-05 Kunihiro Ishiguro <kunihiro@zebra.org>
2295
2296 * command.h (node_type ): add ZEBRA_NODE.
2297
2298 * command.c (config_exit): add RIP_NODE.
2299 (config_write_file): add RIP_NODE.
2300
23011998-01-04 Kunihiro Ishiguro <kunihiro@zebra.org>
2302
2303 * print_version.c (print_version): Now Copyright is 1996-1998.
2304
2305 * sockunion.c (sockunion_log): moved from ../zebra/route.c
2306
23071997-12-30 Kunihiro Ishiguro <kunihiro@zebra.org>
2308
2309 * host.c (config_logfile): change 'log PATH' to 'logfile PATH'.
2310
2311 * sockunion.c (sockunion_sameprefix): add same prefix for
2312 sockunion.
2313
23141997-12-29 Kunihiro Ishiguro <kunihiro@zebra.org>
2315
2316 * radix.[ch] : are moved from ../zebra directroy.
2317
2318 * command.c (config_from_file): if command execution failed down
2319 level to CONFIG_NODE.
2320
2321 * host.c: config_log function which enable 'log FILENAME' command.
2322
23231997-12-23 Kunihiro Ishiguro <kunihiro@zebra.org>
2324
2325 * vty.c: add vty_transpose_chars (). Now you can use '^T' to
2326 transpose character.
2327
2328 * command.c: cmd_cmdsize add, this is useful to check incomplete
2329 command.
2330
23311997-12-07 Kunihiro Ishiguro <kunihiro@zebra.org>
2332
2333 * fd.h: add family for address family
2334
23351997-12-06 Kunihiro Ishiguro <kunihiro@zebra.org>
2336
2337 * command.o
2338 * vty.o
2339 * host.o is moved from ../zebra
2340
23411997-08-14 Kunihiro Ishiguro <kunihiro@zebra.org>
2342
2343 * make library directory.
2344