]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: Fix merge error in jhash commit
authorPaul Jakma <paul@quagga.net>
Tue, 29 Mar 2011 13:18:49 +0000 (14:18 +0100)
committerPaul Jakma <paul@quagga.net>
Tue, 29 Mar 2011 13:18:49 +0000 (14:18 +0100)
* bgp_attr.c: (attrhash_key_make) 98e30f should have changed jhash2 to jhash.

  These kinds of merge errors would be reduced and life would be easier if
  people would submit fully-formed fixes that could be chucked directly into
  git-am.

bgpd/bgp_attr.c

index 7e302652ce07718366fbd2013c626f74fc51b23f..01598c87b44c1367414ecc4c6eac47a702ea9c0f 100644 (file)
@@ -373,8 +373,8 @@ attrhash_key_make (void *p)
 
 #ifdef HAVE_IPV6
       MIX(attr->extra->mp_nexthop_len);
-      key = jhash2(attr->extra->mp_nexthop_global.s6_addr, 16, key);
-      key = jhash2(attr->extra->mp_nexthop_local.s6_addr, 16, key);
+      key = jhash(attr->extra->mp_nexthop_global.s6_addr, 16, key);
+      key = jhash(attr->extra->mp_nexthop_local.s6_addr, 16, key);
 #endif /* HAVE_IPV6 */
     }