summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_lsa.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-05-18 19:28:32 +0000
committerhasso <hasso>2004-05-18 19:28:32 +0000
commit3b4cd3a9e89a5aace04a6a756bd0d23b7108fd83 (patch)
treea15fe3959155a6ca5bd5a2f8e967f9fd39736975 /ospf6d/ospf6_lsa.c
parent4845437528f395c75c1945dd80b140b7162e4667 (diff)
downloadquagga-3b4cd3a9e89a5aace04a6a756bd0d23b7108fd83.tar.bz2
quagga-3b4cd3a9e89a5aace04a6a756bd0d23b7108fd83.tar.xz
Update to latest (really :) ospf6d from Zebra repository and some tiny
fixes.
Diffstat (limited to 'ospf6d/ospf6_lsa.c')
-rw-r--r--ospf6d/ospf6_lsa.c10
1 files changed, 0 insertions, 10 deletions
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);
}