bug-zebra
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ospfd.c LOOPBACK interface support.


From: Jim Crumpler
Subject: ospfd.c LOOPBACK interface support.
Date: Sun, 2 Jun 2002 17:59:10 +1000

Hi folks,

the command "show ip osf interface" will cause a core-dump if there is a
loopback interface assigned to an area..

This is easy to reproduce - create a secondary loopback and assign its
address in the network command in the ospf config, then do a "show ip ospf
interface"..

Line 3573 of ospfd.c does a ospf_network_type_str[oi->type] and runs off the
end of the array if the interface type is defined as OSPF_IFTYPE_LOOPBACK.

A patch is as follows.

Thanks..

Jim Crumpler..
--

Index: ospfd.c
===================================================================
RCS file: /cvsroot/zebra/ospfd/ospfd.c,v
retrieving revision 1.266
diff -r1.266 ospfd.c
69c69,70
<   "VIRTUALLINK"
---
>   "VIRTUALLINK",
>   "LOOPBACK"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]