Commit Graph

62 Commits

Author SHA1 Message Date
paul
32d2463ca2 From: Hasso Tepper <hasso@estpak.ee>
Add the 'no interface' command to all the daemons and vtysh. now it's
possible to delete interface from routeing daemons as well only if it
doesn't exist in os.

http://hasso.linux.ee/zebra/ht-no_interface_fix.patch
2003-05-23 09:25:20 +00:00
paul
7515cffe5e Undo Hasso last patch, about to apply a slightly updated patch. 2003-05-23 09:21:46 +00:00
paul
68f43848fa From: Hasso Tepper <hasso@estpak.ee>
http://hasso.linux.ee/zebra/ht-no_interface-23052003.patch

Add the 'no interface' command to all the daemons and vtysh.
2003-05-23 06:58:44 +00:00
paul
551a897925 From: Hasso Tepper <hasso@estpak.ee>
Subject: [zebra 19093] [PATCH] Two more fixes

Show NSSA LSA route info in "show ip ospf database" output
2003-05-18 15:22:55 +00:00
paul
28a138419f Fix attribution 2003-05-16 20:30:37 +00:00
paul
445f143525 Update Changelogs 2003-05-16 19:00:31 +00:00
paul
d748032f10 From: Hasso Tepper <hasso@estpak.ee>
Subject: [zebra 19091] [PATCH] NSSA fixes try2

NSSA didn't work without problems even after my previous fixes. Seems
that I tracked down problems finally.
2003-05-16 17:31:51 +00:00
paul
843521964f Fix merge error of Hasso's patch "case case" :) 2003-05-11 12:59:11 +00:00
paul
4fb949e334 From: Hasso Tepper
Fix removal of Type-7 LSAs, http://bugzilla.dishone.st/show_bug.cgi?id=18
2003-05-10 20:06:51 +00:00
paul
ccd57affea Reverting the NSSA maxage walker loop addition for now, until all the other
problems with NSSA are resolved, and we can determine whether this had any
point.
2003-05-06 23:38:23 +00:00
paul
5376b5efb2 NSSA /might/ be missing this. I'm not sure.
It didnt solve a particular problem of Hasso's, but i'm committing it just
for posterities sakes, so i dont lose it (i'll revert it immediately).
2003-05-06 23:31:38 +00:00
paul
a2c6283126 From: Hasso Tepper
This one fixes "router xxx" node commands in vtysh. Don't get "unknown
command" error when entering "passive-interface eth0" command while
ospfd and ospf6d running etc.
2003-04-23 17:01:31 +00:00
paul
73ffb25bec Hasso Tepper
http://hasso.linux.ee/zebra/ht-routemap-18042003_5.patch
Trivial fixes to sync daemon's route-map commands to have same syntax. Fixes
a lot of errors with "match ..." and "set ..." commands when using vtysh.
2003-04-19 15:49:49 +00:00
paul
147193a28a From: Hasso Tepper <hasso@estpak.ee>
Subject: [zebra 17365] [PATCH] Ospf area id's DECIMAL -> ADDRESS

It was annoying for me to view area id's like 335544330 (20.0.0.10 in
address format) in configuration. Most of other network devices are
using address-like id's and so does zebra when using "show ip ospf *"
commands.

You can still enter id's in decimal format, but they are just shown in
address format.
2003-04-19 00:31:59 +00:00
paul
c2191eaee5 From: Sergey Vyshnevetskiy <serg@vostok.net>
Subject: [zebra 18689] [PATCH] misc patch

Add missing param to zlog
2003-04-18 23:59:35 +00:00
paul
b8311eab14 From: Sergey Vyshnevetskiy <serg@vostok.net>
Subject: [zebra 18689] [PATCH] misc patch

remove unused vars
2003-04-18 23:57:15 +00:00
paul
f645789b7a Denis Ovsienko <zebra@pilot.org.ua>
Subject: [zebra 18767] possible SIGSEGV

Fix incorrect memset
2003-04-17 16:11:30 +00:00
paul
645878f10f From: Hasso Tepper <hasso@estpak.ee>
To: zebra@zebra.org
Subject: [zebra 18648] [PATCH] Selforiginated Type-7 LSA's are not flushed
         from lsdb
2003-04-13 21:42:11 +00:00
paul
e05fba4387 Author: amir
Date: 2003-04-10 14:32:31 +0200 (Thu, 10 Apr 2003)
New Revision: 212

Modified:
   zebra-ag/trunk/ospfd/ospf_lsa.c
Log:
I've fixed a small opaque lsa bug which got triggered when deleting opaque
lsa of type 11. It used area->ospf->.. when area was null. This was replaced
by a ospf = ospf_lookyp(); ospf->...
2003-04-13 20:20:53 +00:00
paul
ef4e09961d Add Makefile.in to the remaining .cvsignore's
Add ospfclient to ospfclient/.cvsignore
2003-04-09 06:37:27 +00:00
paul
1aa7b3993b Undo commenting of a debug conditional. make it conditional again. 2003-04-08 08:51:58 +00:00
paul
ead687e159 Hasso Tepper <hasso@estpak.ee>:
add NSSA debug statement
2003-04-07 17:12:12 +00:00
paul
e7b050cb01 Indentation fix 2003-04-07 06:38:02 +00:00
paul
23bd12c31d [zebra 18626] move zebra socket paths to configure.ac
moved definition of the various socket paths from the
per daemon header files into configure.ac. it will set the paths to
be in the directory specified by --localstatedir=<prefix> or
otherwise will try to guess as best it can ( a la pid file path
detection - which probably should try reference ${prefix} too).

the present hardcoded socket path, /tmp, isnt really correct. should
be in /var somewhere really.
2003-04-07 06:11:09 +00:00
paul
3a6440d756 Remove auto* files from the repository.
Developers working with the repository should have the appropriate tools.
Out-of-sync files cause far too many problems with users as well as auto*
scripts not being half as portable across systems as they ought to be.
make-dist exists for a reason.
Todo: make the CVS snapshot script do make-dist, and use the resulting
tarball as the snapshot.
2003-04-07 06:02:17 +00:00
paul
f6386eebb9 Compile fix - convert foreach_lsa to LSDB_LOOP 2003-04-07 04:29:27 +00:00
paul
99b7c5d6e6 Latest ospfapi sync from Amir to fixup wrt to zebra.org changes. 2003-04-06 01:19:28 +00:00
paul
7d5e26814f Fixes from Amir to merge apiserver with zebra.org changes 2003-04-05 19:41:07 +00:00
paul
1cc8f7624c Add tests for debug enabled to PtMP LSA creation functions 2003-04-05 19:34:32 +00:00
paul
020709f993 2003-04-04 Paul Jakma <paul@dishone.st>
* Sync to Zebra CVS
        * Fix lib/thread.h leak
        * Fix small Opaque LSA leak
        * Do not configure OSPF interfaces for secondary addresses
        * vtysh fixes from Hasso
        * Dave Watson's missing ntohs fix
2003-04-04 02:44:16 +00:00
paul
d18258304a From: David Watson <dwatson@eecs.umich.edu>
Subject: [zebra 18573] PATCH ospfd: byte order error in assert statement

 I found a bug in the ospfd code tickled this morning by a Type 1
 LSA with exactly 62 entries (LSA length of 768, or 0x0300).
 A missing ntohs in ospf_lsa.c:ospf_lsa_different() causes an assert
 statement to fail, stopping ospfd.
 >   assert (l1->data->length > OSPF_LSA_HEADER_SIZE);
 So, a length of type 768 turns into a length of 3 which is
 obviously less than 20.
 David
2003-04-03 01:27:01 +00:00
paul
800dc10516 Do not configure ospf for secondary prefixes.
Preliminary fix to at least allow heartbeat to work with ospfd when
Heartbeat failover address has same prefixlength as main address.
2003-03-28 01:51:40 +00:00
paul
a15f45d44b Amir Guindehi <amir@datacore.ch>:
I got it to compile. The problem was that major functions newly need a
struct ospf *ospf as the first argument. I tried to take the nearest
struct ospf *ospf around the function needing it, because i was not sure
if all those pointers to struct ospf * all point to the same (global)
struct ospf * which you also get when you call ospf_get().

I used area->ospf where I had the area, I used oi->ospf, where I had an
interface, I used lsa->oi->ospf where I had an lsa and i used ospf_get()
where I had nothing. I hope that's correct and works. We will see.

It compiles now without errors. Daemon is tested and works. The opaque lsa
part is not yet tested. I will do that as soon as srrd is ready.
2003-03-28 01:50:03 +00:00
paul
683b22652e Fix leak of an opaque-lsa scratch link-list 2003-03-28 00:43:48 +00:00
paul
bdf94e447a Remove redundant memset 2003-03-28 00:42:45 +00:00
paul
6898008484 2003-03-25 Paul Jakma <paul@dishone.st>
* sync to latest zebra CVS
	* spec file: updated and added define for ospf-api/client

NB: OSPF-API has been broken by the zebra.org changes, which
has added struct ospf * as a new arg to many functions
2003-03-25 05:07:42 +00:00
paul
1ef74ef70b Amir Guindehi <amir@datacore.ch>:
Fix up build for OSPF-API (dependent on opaque-lsa)
Add disable-ospfapi.
Fix up net-snmp detection.
2003-03-21 15:16:05 +00:00
paul
2be32b7bc1 Fix assert in ospf_api where interface is not configured in ospf. 2003-03-21 15:11:58 +00:00
paul
07661cb5a8 Fix build for net-snmp 2003-03-18 00:03:05 +00:00
paul
1b5d019a11 Amir Guindehi <amir@datacore.ch>
--------------------------------
I've attached a small patch for zebra-pj, which adds the installation of
libospf.a libzebra.a, libospfapi.a and the needed headers for ospfapi
clients. the headers get installed to /usr/include/ospfd/* and
/usr/include/ospfapi.
2003-03-17 23:54:15 +00:00
paul
1bb066bce5 Update auto files.
No doubt builds will now break for everyone. (works here - autoconf 2.13)
2003-03-17 01:18:55 +00:00
paul
283ae334e8 Addition of OSPF-API - Amir Guindehi <amir@datacore.ch> 2003-03-17 01:16:55 +00:00
paul
2d33f15789 Addition of OSPF-API - Amir Guindehi <nospam.amir@datacore.ch> 2003-03-17 01:10:58 +00:00
paul
487a591318 doh! small fix for previous fix to allow ospfd to compile. 2003-02-19 02:54:57 +00:00
paul
cb3f37d276 1. ospf_opaque_type10_lsa_term (area) - was being called after
ospf_lsdb_free had been called. (efence caught this one).

This bug is present in zebra.org CVS

2. It fixes my previous ospf_network_match_iface patch ([zebra 17352])
- i lost a couple of checks in ospf_network_run() by mistake. this
patch isnt in zebra.org CVS, but it would be nice to have it once it
works.

This hopefully fixes the 'assert rn->info' problems people had with
zebra-pj yesterday.
2003-02-18 23:26:37 +00:00
paul
8c80cb7ee9 fixes an assert which doesnt seem to take into account that route_node_get
may return an existing node. (if the code wants a /new/ node why not use
route_node_set? if it doesnt mind - then the assert is wrong).

this bug is in zebra.org CVS. (must be an extremely rare/unlikely bug
though).
2003-02-18 23:25:44 +00:00
paul
17b78d38e4 Fix debug statement in ospf_packet.c and merge error in ospf_lsa.c 2003-02-13 22:04:01 +00:00
paul
37163d6d0c Merge to zebra.org CVS 20030203 16:30GMT 2003-02-03 18:40:56 +00:00
paul
7d7ddde299 Initial revision 2003-02-03 16:31:16 +00:00
paul
7d95c611f6 Revert comment out of:
if (ospf_debug_packet & OSPF_DEBUG_RECV)
which was causing unconditional ospf_ip_header_dump (ibuf).
(introduced with kevin millers patch)
2003-01-27 12:00:55 +00:00