From 8178b2e156d2263015d7d981590a0899f2cb4c05 Mon Sep 17 00:00:00 2001 From: "Andrew J. Schorr" Date: Fri, 29 May 2009 09:15:20 -0400 Subject: [bgpd] 64-bit bugfix in community_del_val by Jeremy Jackson * bgpd/bgp_community.c: (community_del_val) Fix bug in memcpy that was using the wrong size on architectures where a pointer is not 32 bits. --- bgpd/bgp_community.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_community.c b/bgpd/bgp_community.c index a05ea6c6..64c6810f 100644 --- a/bgpd/bgp_community.c +++ b/bgpd/bgp_community.c @@ -78,7 +78,7 @@ community_del_val (struct community *com, u_int32_t *val) c = com->size -i -1; if (c > 0) - memcpy (com->val + i, com->val + (i + 1), c * sizeof (val)); + memcpy (com->val + i, com->val + (i + 1), c * sizeof (*val)); com->size--; -- cgit v1.2.1 From 2bbd71aace61a70a631c1d0c0bce75fbc76ee1d1 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Mon, 1 Jun 2009 20:07:46 +0400 Subject: [doc] Stick with quagga.net for consistency (#436) --- doc/bgpd.8 | 2 +- doc/ospf6d.8 | 2 +- doc/ospfd.8 | 2 +- doc/ripd.8 | 2 +- doc/ripngd.8 | 2 +- doc/vtysh.1 | 2 +- doc/zebra.8 | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/bgpd.8 b/doc/bgpd.8 index 658fe0ae..8daaefa2 100644 --- a/doc/bgpd.8 +++ b/doc/bgpd.8 @@ -116,6 +116,6 @@ eats bugs for breakfast. If you have food for the maintainers try See .BI http://www.zebra.org and -.BI http://www.quagga.org +.BI http://www.quagga.net or the Info file for an accurate list of authors. diff --git a/doc/ospf6d.8 b/doc/ospf6d.8 index 44c4fe9c..06432263 100644 --- a/doc/ospf6d.8 +++ b/doc/ospf6d.8 @@ -106,6 +106,6 @@ eats bugs for breakfast. If you have food for the maintainers try See .BI http://www.zebra.org and -.BI http://www.quagga.org +.BI http://www.quagga.net or the Info file for an accurate list of authors. diff --git a/doc/ospfd.8 b/doc/ospfd.8 index 06144083..63f8c69b 100644 --- a/doc/ospfd.8 +++ b/doc/ospfd.8 @@ -111,6 +111,6 @@ eats bugs for breakfast. If you have food for the maintainers try See .BI http://www.zebra.org and -.BI http://www.quagga.org +.BI http://www.quagga.net or the Info file for an accurate list of authors. diff --git a/doc/ripd.8 b/doc/ripd.8 index 12e01a94..8fa9bf23 100644 --- a/doc/ripd.8 +++ b/doc/ripd.8 @@ -109,5 +109,5 @@ eats bugs for breakfast. If you have food for the maintainers try See .BI http://www.zebra.org and -.BI http://www.quagga.org +.BI http://www.quagga.net or the Info file for an accurate list of authors. diff --git a/doc/ripngd.8 b/doc/ripngd.8 index 2ec5563f..d9d82012 100644 --- a/doc/ripngd.8 +++ b/doc/ripngd.8 @@ -112,6 +112,6 @@ eats bugs for breakfast. If you have food for the maintainers try See .BI http://www.zebra.org and -.BI http://www.quagga.org +.BI http://www.quagga.net or the Info file for an accurate list of authors. diff --git a/doc/vtysh.1 b/doc/vtysh.1 index eb960cdc..de4913e5 100644 --- a/doc/vtysh.1 +++ b/doc/vtysh.1 @@ -95,6 +95,6 @@ eats bugs for breakfast. If you have food for the maintainers try See .BI http://www.zebra.org and -.BI http://www.quagga.org +.BI http://www.quagga.net or the Info file for an accurate list of authors. diff --git a/doc/zebra.8 b/doc/zebra.8 index 558e27be..38ccf1ad 100644 --- a/doc/zebra.8 +++ b/doc/zebra.8 @@ -131,6 +131,6 @@ eats bugs for breakfast. If you have food for the maintainers try See .BI http://www.zebra.org and -.BI http://www.quagga.org +.BI http://www.quagga.net or the Info file for an accurate list of authors. -- cgit v1.2.1 From e6b6a56419ed5a2e8cf2cb11eab340d7b0d28055 Mon Sep 17 00:00:00 2001 From: Denis Ovsienko Date: Mon, 1 Jun 2009 20:20:36 +0400 Subject: [trivia] Fixed typos in communities text (#334) --- bgpd/bgp_ecommunity.c | 2 +- bgpd/bgp_routemap.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bgpd/bgp_ecommunity.c b/bgpd/bgp_ecommunity.c index 27c3cd69..6b221e24 100644 --- a/bgpd/bgp_ecommunity.c +++ b/bgpd/bgp_ecommunity.c @@ -97,7 +97,7 @@ ecommunity_add_val (struct ecommunity *ecom, struct ecommunity_val *eval) /* This function takes pointer to Extended Communites strucutre then create a new Extended Communities structure by uniq and sort each - Exteneded Communities value. */ + Extended Communities value. */ static struct ecommunity * ecommunity_uniq_sort (struct ecommunity *ecom) { diff --git a/bgpd/bgp_routemap.c b/bgpd/bgp_routemap.c index 2d4a8630..bb9014fe 100644 --- a/bgpd/bgp_routemap.c +++ b/bgpd/bgp_routemap.c @@ -3321,7 +3321,7 @@ DEFUN (set_ecommunity_rt, "set extcommunity rt .ASN:nn_or_IP-address:nn", SET_STR "BGP extended community attribute\n" - "Route Target extened communityt\n" + "Route Target extended community\n" "VPN extended community\n") { int ret; @@ -3340,7 +3340,7 @@ DEFUN (no_set_ecommunity_rt, NO_STR SET_STR "BGP extended community attribute\n" - "Route Target extened communityt\n") + "Route Target extended community\n") { return bgp_route_set_delete (vty, vty->index, "extcommunity rt", NULL); } @@ -3351,7 +3351,7 @@ ALIAS (no_set_ecommunity_rt, NO_STR SET_STR "BGP extended community attribute\n" - "Route Target extened communityt\n" + "Route Target extended community\n" "VPN extended community\n") DEFUN (set_ecommunity_soo, -- cgit v1.2.1