summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* 2004-07-09 Paul Jakma <paul@dishone.st>paul2004-07-092-20/+113
| | | | | * Merge Kunihiro's 'show route-map' change and add compatibility aliases for route-map continue
* more cvsignorespaul2004-07-091-0/+1
|
* Update cvsignore's for *.lo and *.la - libtool filespaul2004-07-091-0/+2
|
* 2004-07-09 Juris Kalnins <juris@mt.lv>paul2004-07-092-1/+10
| | | | | * if.c: (if_cmp_func) fix for interface names where name is same, but one has no number, eg "devtyp" and "devtyp0".
* Add libtool support.gdt2004-06-302-4/+8
| | | | | | | | | | | | | | | | libzebra and libospfapiclient are now built shared, and linked shared with the daemons. This reduces the memory needed when running multiple daemons; each daemon is at least 150k smaller. Static libraries are still built, and libtool should use them on platforms which don't have shared libaries. As with autoconf, the user of a distribution does not need libtool; one just needs that to build from CVS. libospf.a is still a non-shared library, and still installed, not because that makese sense, but because I don't understand why it is the way it is now. Note that the tree was tagged 'libtool-before' just before this commit.
* 2004-06-21 Paul Jakma <paul@dishone.st>paul2004-06-212-2/+7
| | | | | * ChangeLog: fix my last update config.h -> zebra.h ;) * zebra.h: Fix gcc check.
* Removing code which looked at current dir for config file before attemptinghasso2004-06-202-86/+62
| | | | to read system one.
* OK, here it is - irdp support. But don't expect me to fix any bugs in it.hasso2004-06-121-0/+1
|
* 2004-06-11 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-06-1110-61/+91
| | | | | | | | | | | | | | | | | | | | | | * filter.c: (access_list_remark_cmd) buffer_putstr doesnt need cast to u_char. (ipv6_access_list_remark_cmd) ditto. if.c: ditto * network.c: (readn/writen) pointer arg should be type u_char. * plist.c: needs to include stream.h, not declare stream functions internally. (various) Add static qualifier to internal functions. (prefix_list_type_str) extraneous breaks in switch statement. (ip_prefix_list_description_cmd) buffer_putstr doesnt need cast * stream.h: depends on plist.h and export stream_put_prefix * vty.c: (vty_<telnet option build functions>) should use unsigned char, telnet options are 0 -> 255. * zclient.c: various u_char<->char type cleanups. * zebra.h: Having to define CMSG_* can apply to more than just BSDI_NRL. * ripd.c: (rip_distribute_update_all) distribute list hook function pointer prototype requires struct prefix_list * arg. (rip_distribute_update_all_wrapper) update to pass required arg, NULL.
* 2004-06-09 Paul Jakma <paul@dishone.st>paul2004-06-092-0/+8
| | | | * config.h: __attribute__ is a gcc'ism
* CVS ignore Linux NFS silly-delete .nfs* filespaul2004-06-061-0/+1
|
* 2004-06-04 Paul Jakma <paul@dishone.st>paul2004-06-044-7/+11
| | | | * type mismatch fixes
* Start of new ospf6d merge from Zebra.hasso2004-05-184-2/+207
|
* 2004-05-08 Paul Jakma <paul@dishone.st>paul2004-05-083-242/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bgp_zebra.c: (bgp_interface_address_add) sync to zclient changes (bgp_interface_address_delete) ditto. (bgp_zebra_announce) ditto. (bgp_zebra_withdraw) ditto. * isis_zebra.c: Sync with zclient changes. * zclient.c (zapi_ipv4_route) Follow Sowmini's lead and describe message format. * ospf6_zebra.c: Sync to zclient changes * ospf_zebra.c: Sync with lib/zclient changes * rip_zebra.c: sync with zclient changes. * rip_interface.c: ditto. * ripng_{interface,zebra}.c: sync with zclient changes 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com> * zclient.c: (zapi_ipv4_add) collapsed into zapi_ipv4_route (zapi_ipv4_delete) ditto. (zapi_ipv4_route) add/delete a route by way of cmd arg. (zapi_ipv6_add) collapsed into zapi_ipv6_route. (zapi_ipv6_delete) ditto. (zapi_ipv6_route) add/delete a route by way of cmd arg. (zebra_interface_address_delete_read) collapsed into zebra_interface_address_read. (zebra_interface_address_delete_read) ditto. (zebra_interface_address_read) read address add/delete messages by way of type argument. Describe command message format. (zebra_interface_add_read) Unconditionally read new ifmtu6 field. Describe command message format. (zebra_interface_state_read) Unconditionally read new ifmtu6 field. (zclient_redistribute_set) Collapsed into zclient_redistribute (zclient_redistribute_unset) ditto (zclient_redistribute) set/unset redistribution. (zclient_redistribute_default_set) Collapsed into zclient_redistribute_default. (zclient_redistribute_default_unset) ditto. (zclient_redistribute_default) Redistribute default set/unset. * zclient.h: delete zapi_ipv{4,6}_add, zapi_ipv{4,6}_delete. Add zapi_ipv{4,6}_route. delete zclient_redistribute_set/unset. Add zclient_redistribute. Ditto for zclient_redistribute_default_{set/unset}.
* 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-05-082-3/+5
| | | | | * command.c: (sockunion_getsockname) use socklen_t for len. (sockunion_getpeername) ditto.
* 2004-05-08 Sowmini Varadhan <sowmini.varadhan@sun.com>paul2004-05-083-5/+53
| | | | | | | | | * if.h: Add mtu6 field to struct interface, IPv6 MTU may differ from IPv4, and Solaris treats the MTU's differently. Add connected_add_by_prefix, for use by later patch. * if.c: (connected_add_by_prefix) Add prefix to connected list. (if_flag_dump) Solaris: Dump IFF_IPv4/6 flag (if_dump) Dump mtu6 flag, for HAVE_IPV6.
* 2004-04-21 Boris Kovalenko <boris@tagnet.ru>paul2004-04-212-1/+5
| | | | * daemon.c: (daemon) fix check for error return from setsid
* 2004-03-16 David Young <dyoung@pobox.com>gdt2004-03-164-4/+4
| | | | | | | | | * (many) reference <lib/version.h> rather than "version.h", because version.h is a generated file and not present in the source tree when using objdir builds. (committed by gdt) works fine with normal builds; didn't try objdir
* Many warning fixes from PC Drew ([quagga-dev 940]) and removing using PAGERhasso2004-03-042-2/+4
| | | | from vtysh ([quagga-dev 932]).
* add some /* XXX assert() */ for questionable assumptions (no codegdt2004-02-131-0/+4
| | | | change - just notes to others).
* 2004-01-19 Paul Jakma <paul@dishone.st>paul2004-01-191-2/+3
| | | | | | | * tests/test-sig.c: New file, regression test for sigevents. * lib/Makefile.am: add sigevent.{c,h} * (isis|rip|ripng|ospf|ospf6|bgp)d/\1_main.c: modify for sigevents. * zebra/main.c: ditto.
* 2004-01-19 Paul Jakma <paul@dishone.st>paul2004-01-193-0/+201
| | | | | * sigevent.{c,h}: New files, implement event handled signals. see signal_init() in sigevent.h.
* Explain the dual use of struct prefix for CIDR prefixes andgdt2004-01-132-3/+27
| | | | address/netmask pairs, and clarify the two comparison functions.
* Add comments about isisd integration.jardin2003-12-231-0/+4
|
* Merge isisd into the Quagga's framework:jardin2003-12-2310-2/+106
| | | | | | | | | | - add privs support - use misc quagga's definitions - make it compile"able" - fix segfault cases related to hostname() - add debug isis xxx command This patch has been approved by Paul Jakma.
* Reorder free(f); unlink(f); to unlink before freeing.import.isisd.sf.20031223gdt2003-12-222-2/+7
|
* 2003-12-22 Christian Hammers <ch@lathspell.de>gdt2003-12-224-3/+41
| | | | | | * configure.ac (and everywhere a regular file is opened for writing): use file permissions from configure rather than compiled-in umask.
* Revert my "microfix". It was caused by misreading code. Gilad is right ashasso2003-12-221-6/+1
| | | | always.
* note that order of = items is undefined, probablygdt2003-12-221-0/+4
|
* comments about struct listgdt2003-12-221-0/+5
|
* add comments clarifying the operation of listnode_add_sortgdt2003-12-221-1/+7
|
* lib/if.c part from [quagga-dev 552] and lib/inklist.c part from [quagga-devhasso2003-12-212-8/+5
| | | | 555]. Okayed by Paul.
* {lib,ospfd,ospfapi}/Makefile.am:gdt2003-12-081-1/+1
| | | | | Use pkginclude_HEADERS rather than include_HEADERS to place includes in ${prefix}/include/quaggainstead of polluting ${prefix}/include.
* 2003-10-30 sowmini.varadhan@sun.compaul2003-10-301-2/+4
| | | | * lib/pid_output.c: (pid_output_lock) undo paulj's mindless edit.
* 2003-10-29 Paul Jakma <paul@dishone.st>paul2003-10-291-95/+110
| | | | | | | | | | * lib/routemap.c: (route_map_apply_index) renamed to route_map_apply_match. (route_map_apply_match) Take rule list as argument rather than index. concentrate solely on match logic. (route_map_apply) Properly implement the route map statement logic, according to the table, especially the on-match exit policy.
* 2003-10-27 Paul Jakma <paul@dishone.st>paul2003-10-272-25/+0
| | | | | * lib/if.{ch}: remove ifc_pointtopoint() - left over from the reverted RFC3021 patch.
* 2003-10-26 Paul Jakma <paul@dishone.st>paul2003-10-261-2/+1
| | | | | * lib/vty.c: (vty_read) additional change i had applied to Jay's telnet sub-option processing crash fix was incorrect, revert.
* 2003-10-24 Paul Jakma <paul@dishone.st>paul2003-10-241-1/+1
| | | | | | | | | * configure.ac: Check for fcntl() * {bgpd,ospf,ospf6d,ripd,ripngd}/Makefile.am: Install conf file via regular automake means, not magic install incantations, see bug #38. * lib/Makefile.am: install the headers, needed to link libzebra.a (and hence libospf.a, OSPF-API, etc.)
* 2003-10-24 sowmini.varadhan@sun.compaul2003-10-241-15/+24
| | | | | | | * lib/pid_output.c: (pid_output) call pid_output_lock if we have fcntl(). (pid_output_lock) grab exclusive write lock on pid file, rather than rely on (fragile) exclusive create.
* 2003-10-22 Paul Jakma <paul@dishone.st>paul2003-10-221-1/+5
| | | | | | * lib/zebra.h: include limits.h if its there, its a portable header and useful and not just solaris specific. net/route.h is also useful.
* 2003-10-22 Paul Jakma <paul@dishone.st>paul2003-10-221-6/+7
| | | | * lib/vty.c: cleanup getcwd again. just pass the buffer in to getcwd.
* 2003-10-22 Paul Jakma <paul@dishone.st>paul2003-10-221-3/+3
| | | | | * lib/regex.c: bzero -> memset * zebra/ioctl.c: ditto. bzero is not portable.
* 2003-10-15 Jay Fenlason <fenlason@redhat.com>paul2003-10-151-6/+11
| | | | | | | | * lib/vty.c: (vty_telnet_option) Remote DoS exists if a telnet end-sub-negotation is sent when no sub-negotation data has been sent. Return immediately if no sub-negotation is in progress. (vty_read) do not attempt to process options if no sub-negotation is in progress.
* 2003-10-15 Paul Jakma <paul@dishone.st>paul2003-10-151-2/+8
| | | | | | | * lib/vty.c: (vty_save_cwd) dont crash if getcwd fails. try fallback to SYSCONFDIR. Allocate cwd from the stack rather than relying on (non-portable) getcwd() allocation (which we didnt seem to be freeing).
* 2003-10-13 Jay Fenlason <fenlason@redhat.com>paul2003-10-131-0/+5
| | | | | | | | | * lib/zebra.h: define UINT32_MAX for those systems which do not provide it. * bgp_attr.h: define BGP_MED_MAX. * bgp_route.c: update defines/constants to BGP_MED_MAX. * bgp_routemap.c: ditto. clean up route_match_metric_compile slightly to avoid unneccesary XMALLOC.
* 2003-09-29 Paul Jakma <paul@dishone.st>paul2003-09-291-13/+21
| | | | | | | | | | | | | | * zebra/connected.c: revert the 'generic PtP' patch as it causes far too many problems. People who use FreeSWAN should investigate native linux ipsec. * zebra/rt_netlink.c: ditto * lib/if.c: ditto * ripd/ripd.h: ditto * ripd/ripd.c: ditto * ripd/rip_interface.c: ditto * ospfd/ospfd.c: ditto * ospfd/ospf_snmp.c: ditto * bgpd/bgp_nexthop.c: ditto
* 2003-09-24 Paul Jakma <paul@dishone.st>paul2003-09-242-4/+5
| | | | | | | | | | | | | * lib/version.h: moved to version.h.in * lib/version.h.in: New file, from version.h. Change hardcoded package name and version to use the autoconf defined substition variables. * configure.ac: Fix up AC/AM_INIT* to new style. Remove the sed'ing through lib/version.h for VERSION. Add lib/version.h to the AC_OUTPUT list. Update the text output of quagga version at end of configure run to use PACKAGE_VERSION. * doc/.cvsignore: ignore quagga.pdf * doc/.cvsignore: ignore version.h, its now autogenerated.
* 2003-09-24 sowmini.varadhan@sun.compaul2003-09-231-2/+6
| | | | | * lib/linklist.c: (if_cmp_func) Fix handling of case where list->cmp returns 0.
* 2003-09-24 sowmini.varadhan@sun.compaul2003-09-231-1/+6
| | | | | * lib/if.c: (if_cmp_func) fix infinite loop if ifp1->name == ifp2->name
* 2003-08-27 Jay Fenlason <fenlason@redhat.com>paul2003-08-271-1/+1
| | | | | * lib/Makefile.am: Do not use a lib (libcap) as a dependency * zebra/Makefile.am: Link in libcap