diff options
| author | Avneesh Sachdev <avneesh@opensourcerouting.org> | 2012-04-09 00:25:15 -0700 | 
|---|---|---|
| committer | Avneesh Sachdev <avneesh@opensourcerouting.org> | 2012-04-09 00:25:15 -0700 | 
| commit | 3cf6c2b4e43f44a977d218c96c26250654ae333e (patch) | |
| tree | e017cde2015fbf3ef6c250327428d7c6152aa8f7 /ospfd/ospf_zebra.c | |
| parent | 01d7ff0a2166a422c56bd26f04fc22832a9e690b (diff) | |
| parent | e96b312150d8e376c1ef463793d1929eca3618d5 (diff) | |
Merge branch 'quagga' into google-bgp-multipath
Conflicts:
	bgpd/bgp_route.c
Diffstat (limited to 'ospfd/ospf_zebra.c')
| -rw-r--r-- | ospfd/ospf_zebra.c | 6 | 
1 files changed, 5 insertions, 1 deletions
diff --git a/ospfd/ospf_zebra.c b/ospfd/ospf_zebra.c index 50ca85e1..f8d1cb7c 100644 --- a/ospfd/ospf_zebra.c +++ b/ospfd/ospf_zebra.c @@ -358,6 +358,7 @@ ospf_zebra_add (struct prefix_ipv4 *p, struct ospf_route *or)        stream_putc (s, ZEBRA_ROUTE_OSPF);        stream_putc (s, flags);        stream_putc (s, message); +      stream_putw (s, SAFI_UNICAST);        /* Put prefix information. */        psize = PSIZE (p->prefixlen); @@ -427,6 +428,7 @@ ospf_zebra_delete (struct prefix_ipv4 *p, struct ospf_route *or)        api.type = ZEBRA_ROUTE_OSPF;        api.flags = 0;        api.message = 0; +      api.safi = SAFI_UNICAST;        api.ifindex_num = 0;        api.nexthop_num = 0; @@ -483,6 +485,7 @@ ospf_zebra_add_discard (struct prefix_ipv4 *p)        api.type = ZEBRA_ROUTE_OSPF;        api.flags = ZEBRA_FLAG_BLACKHOLE;        api.message = 0; +      api.safi = SAFI_UNICAST;        SET_FLAG (api.message, ZAPI_MESSAGE_NEXTHOP);        api.nexthop_num = 0;        api.ifindex_num = 0; @@ -505,6 +508,7 @@ ospf_zebra_delete_discard (struct prefix_ipv4 *p)        api.type = ZEBRA_ROUTE_OSPF;        api.flags = ZEBRA_FLAG_BLACKHOLE;        api.message = 0; +      api.safi = SAFI_UNICAST;        SET_FLAG (api.message, ZAPI_MESSAGE_NEXTHOP);        api.nexthop_num = 0;        api.ifindex_num = 0; @@ -670,7 +674,7 @@ ospf_external_lsa_originate_check (struct ospf *ospf,    if (is_prefix_default (&ei->p))      if (ospf->default_originate == DEFAULT_ORIGINATE_NONE)        { -        zlog_info ("LSA[Type5:0.0.0.0]: Not originate AS-exntenal-LSA " +        zlog_info ("LSA[Type5:0.0.0.0]: Not originate AS-external-LSA "                     "for default");          return 0;        }  | 
