From 3b4cd3a9e89a5aace04a6a756bd0d23b7108fd83 Mon Sep 17 00:00:00 2001 From: hasso Date: Tue, 18 May 2004 19:28:32 +0000 Subject: Update to latest (really :) ospf6d from Zebra repository and some tiny fixes. --- ospf6d/ospf6_lsa.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'ospf6d/ospf6_lsa.c') diff --git a/ospf6d/ospf6_lsa.c b/ospf6d/ospf6_lsa.c index 13e9a073..5204c233 100644 --- a/ospf6d/ospf6_lsa.c +++ b/ospf6d/ospf6_lsa.c @@ -386,10 +386,6 @@ ospf6_lsa_show_internal (struct vty *vty, struct ospf6_lsa *lsa) ntohs (lsa->header->length), VTY_NEWLINE); vty_out (vty, " Prev: %p This: %p Next: %p%s", lsa->prev, lsa, lsa->next, VTY_NEWLINE); - vty_out (vty, " Reference count: %ld%s", lsa->refcnt, VTY_NEWLINE); - vty_out (vty, " Reference source: %s (%p) %s", - (lsa->refsrc ? lsa->refsrc->name : "None"), - lsa->refsrc, VTY_NEWLINE); vty_out (vty, "%s", VTY_NEWLINE); } @@ -535,9 +531,6 @@ ospf6_lsa_copy (struct ospf6_lsa *lsa) copy->originated = lsa->originated; copy->scope = lsa->scope; - copy->refsrc = lsa; - copy->refsrc->refcnt++; - return copy; } @@ -560,9 +553,6 @@ ospf6_lsa_unlock (struct ospf6_lsa *lsa) if (lsa->lock != 0) return; - if (lsa->refsrc) - lsa->refsrc->refcnt--; - ospf6_lsa_delete (lsa); } -- cgit v1.2.3