summaryrefslogtreecommitdiffstats
path: root/proto/ospf/lsalib.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2005-02-20 20:03:34 +0100
committerOndrej Filip <feela@network.cz>2005-02-20 20:03:34 +0100
commit39fc85b4c63582b56c4f96de49d0c6aad03c4086 (patch)
treee408670bf1e4b5187a9abb058f8bd7ba0fdd2d27 /proto/ospf/lsalib.c
parent63ca37f3139505a1881bf2c343f18d4ed8e22ce4 (diff)
downloadbird-39fc85b4c63582b56c4f96de49d0c6aad03c4086.tar
bird-39fc85b4c63582b56c4f96de49d0c6aad03c4086.zip
Unused code deleted.
Diffstat (limited to 'proto/ospf/lsalib.c')
-rw-r--r--proto/ospf/lsalib.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/proto/ospf/lsalib.c b/proto/ospf/lsalib.c
index af3f743..567942d 100644
--- a/proto/ospf/lsalib.c
+++ b/proto/ospf/lsalib.c
@@ -181,9 +181,6 @@ htonlsab(void *h, void *n, u8 type, u16 len)
sizeof(union ospf_lsa_sum_tm)); i++)
{
(nn + i)->metric = htonl((hn + i)->metric);
- //(nn + i)->tos = (hn + i)->tos;
- //(nn + i)->metric = htons((hn + i)->metric);
- //(nn + i)->padding = 0;
}
break;
}
@@ -205,9 +202,6 @@ htonlsab(void *h, void *n, u8 type, u16 len)
sizeof(struct ospf_lsa_ext_tos)); i++)
{
(nt + i)->etm.metric = htonl((ht + i)->etm.metric);
- //(nt + i)->tos = (ht + i)->tos;
- //(nt + i)->padding = 0;
- //(nt + i)->metric = htons((ht + i)->metric);
(nt + i)->fwaddr = (ht + i)->fwaddr;
ipa_hton((nt + i)->fwaddr);
(nt + i)->tag = htonl((ht + i)->tag);
@@ -281,9 +275,6 @@ ntohlsab(void *n, void *h, u8 type, u16 len)
sizeof(union ospf_lsa_sum_tm)); i++)
{
(hn + i)->metric = ntohl((nn + i)->metric);
- //(hn + i)->tos = (nn + i)->tos;
- //(hn + i)->metric = ntohs((nn + i)->metric);
- //(hn + i)->padding = 0;
}
break;
}
@@ -305,9 +296,6 @@ ntohlsab(void *n, void *h, u8 type, u16 len)
sizeof(struct ospf_lsa_ext_tos)); i++)
{
(ht + i)->etm.metric = ntohl((nt + i)->etm.metric);
- //(ht + i)->etos = (nt + i)->etos;
- //(ht + i)->padding = 0;
- //(ht + i)->metric = ntohs((nt + i)->metric);
(ht + i)->fwaddr = (nt + i)->fwaddr;
ipa_ntoh((ht + i)->fwaddr);
(ht + i)->tag = ntohl((nt + i)->tag);