summaryrefslogtreecommitdiffstats
path: root/proto/ospf/iface.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2004-06-05 11:28:17 +0200
committerMartin Mares <mj@ucw.cz>2004-06-05 11:28:17 +0200
commit1512813e95a7edd2fad2834221dc1cb79aab6406 (patch)
tree9f32693281ed351a464b58b3bd1171b928f735be /proto/ospf/iface.c
parentc91fc9b6064e988e7526ecedd6b9e25f0204c4b7 (diff)
downloadbird-1512813e95a7edd2fad2834221dc1cb79aab6406.tar
bird-1512813e95a7edd2fad2834221dc1cb79aab6406.zip
... and a whole bunch of unused parameters and variables in ospf.
Diffstat (limited to 'proto/ospf/iface.c')
-rw-r--r--proto/ospf/iface.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index dffb357..70e73b9 100644
--- a/proto/ospf/iface.c
+++ b/proto/ospf/iface.c
@@ -116,7 +116,6 @@ downint(struct ospf_iface *ifa)
{
struct ospf_neighbor *n,*nx;
struct proto *p=&ifa->proto->proto;
- struct proto_ospf *po=ifa->proto;
WALK_LIST_DELSAFE(n,nx,ifa->neigh_list)
{
@@ -149,7 +148,6 @@ void
ospf_int_sm(struct ospf_iface *ifa, int event)
{
struct proto *p=(struct proto *)(ifa->proto);
- struct proto_ospf *po=ifa->proto;
struct ospf_area *oa=ifa->oa;
OSPF_TRACE(D_EVENTS, "SM on iface %s. Event is \"%s\".",
@@ -324,9 +322,6 @@ ospf_if_notify(struct proto *p, unsigned flags, struct iface *iface)
struct ospf_iface *ifa;
struct object_lock *lock;
struct nbma_node *nbma,*nb;
- u8 i;
- sock *mcsk;
-
DBG("%s: If notify called\n", p->name);
if (iface->flags & IF_IGNORE)
@@ -457,7 +452,6 @@ ospf_if_notify(struct proto *p, unsigned flags, struct iface *iface)
void
ospf_iface_info(struct ospf_iface *ifa)
{
- int x;
char *strict="(strict)";
if((ifa->type!=OSPF_IT_NBMA)||(ifa->strictnbma==0)) strict="";