summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_asbr.c
diff options
context:
space:
mode:
authorhasso <hasso>2004-08-19 06:56:53 +0000
committerhasso <hasso>2004-08-19 06:56:53 +0000
commit3b68735fc38871bdcc9fc19f38fab244f86e710b (patch)
tree3a98be6997b0fc0e0bd211a877ab477cb7e3d328 /ospf6d/ospf6_asbr.c
parent0de1cde6e602e7496628967aeb219cd28d4869a9 (diff)
Merge svn revisions 924 and 925 from Zebra CVS. Also remove useless
ospf6_lsdb prototype declaration from ospf6_lsa.h. Report sent to Yasuhiro Ohara as well.
Diffstat (limited to 'ospf6d/ospf6_asbr.c')
-rw-r--r--ospf6d/ospf6_asbr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospf6d/ospf6_asbr.c b/ospf6d/ospf6_asbr.c
index a8a1ce11..7884a6bf 100644
--- a/ospf6d/ospf6_asbr.c
+++ b/ospf6d/ospf6_asbr.c
@@ -523,6 +523,7 @@ ospf6_asbr_redistribute_add (int type, int ifindex, struct prefix *prefix,
zlog_info ("Advertise as AS-External Id:%s", ibuf);
}
+ match->path.origin.id = htonl (info->id);
ospf6_as_external_lsa_originate (match);
return;
}
@@ -571,6 +572,7 @@ ospf6_asbr_redistribute_add (int type, int ifindex, struct prefix *prefix,
zlog_info ("Advertise as AS-External Id:%s", ibuf);
}
+ route->path.origin.id = htonl (info->id);
ospf6_as_external_lsa_originate (route);
/* Router-Bit (ASBR Flag) may have to be updated */