[quagga-dev 7789] [PATCH] ospfd: Fix "show ip ospf route" output.

Sogabe Takashi sogabe at iij.ad.jp
Wed Feb 10 06:43:21 GMT 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

If duplicate Link-IDs appear in AS-External route, destination
network's "host" bits should be cleared.
- ---
 ospfd/ospf_ase.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ospfd/ospf_ase.c b/ospfd/ospf_ase.c
index 5d0cae4..7efc2a9 100644
- --- a/ospfd/ospf_ase.c
+++ b/ospfd/ospf_ase.c
@@ -448,6 +448,7 @@ ospf_ase_calculate_route (struct ospf *ospf, struct ospf_lsa
* lsa)
   p.family = AF_INET;
   p.prefix = al->header.id;
   p.prefixlen = ip_masklen (al->mask);
+  apply_mask_ipv4(&p);

   /* if there is a Intra/Inter area route to the N
      do not install external route */
- --
1.5.6.5

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBAgAGBQJLclWIAAoJEMme2BJEXmgNc6UP/RwPBIZYBxjxjypVTfdC5mBa
kuxOQt5tyXj7V4BGrNKn5xxa35CBsfuXy5RkP8bjPoWjjNjOxRPWIktOI+FtySoH
jY0ylMjY26BkHOKp07Lr0p9GJA/ZGCF3h5swFzd8IIWnK4L7Q9pKZtdNfu6TFMUD
BFiCeikiQU7xVNzbIVKXPcyGd1Spdgmv2EpWva43pyiM9NF9je5e31heC1Yjmgt0
OTtM4z76VhqvMjsL5C7seTPAirnFiOj+etv0DKxqI3kS4VhzE44bP+AIMpSkDNRS
DjO5IipjcXOc+9j+63mw2dnx2svrOA0DUuPcIs+xQr6zPx1Y5JqbrUhyIuN1qeF9
oensCv+iWvjXguTE/a54fvg+CbtV33cRxDT99FdlmODGPCqTOzE4CqTQhI7TjIHJ
ccLjAWuO6FsZpEPczOMgjcwOb+5c60rKZ5w5XPSp7bXnosILfO43NRM9JQZG6EbP
8UJugyGtaWaL80XEEt+w50o4F1Et4xWZc8yai6MyrvzQ+EjQ5VRdqDVZw7Xc+nAU
2ut9VzzZxLFVQxCIBBKxPmwy0kmnuiRD6dSrwmSKVG9TCKczDkaJCs+q66iU6S1u
2iaqteoYjVNMgiyOzt+isMJvhukp/E3C1n6HMuaA/H13r5ZbcRniO2InWV/0D5jN
c8C7TDdCKe1+Twi02eJx
=REpY
-----END PGP SIGNATURE-----



More information about the Quagga-dev mailing list