Ethernet Bridge development
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: "Samuel Díaz García" <samueldg@arcoscom.com>
Cc: bridge@lists.osdl.org
Subject: [Bridge] [PATCH] Fix bug where changing port priority changed path cost instead.
Date: Wed, 31 May 2006 14:33:41 -0700	[thread overview]
Message-ID: <20060531143341.77ee1b4f@localhost.localdomain> (raw)
In-Reply-To: <447E0456.10609@arcoscom.com>

Just applied this to the bridge git repository.

---

 ChangeLog         |    4 ++++
 brctl/brctl_cmd.c |    2 +-
 2 files changed, 5 insertions(+), 1 deletions(-)

32a43e993241ff53f3333c4533d135c4f6cead73
diff --git a/ChangeLog b/ChangeLog
index e31da93..435d2f5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-05-31  Stephen Hemminger  <shemminger@zqx3.pdx.osdl.net>
+
+	* Fixed bug where setting port priority set path cost instead
+
 2006-01-31  Stephen Hemminger  <shemminger@osdl.org>
 
 	* Released bridge-utils 1.1
diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c
index 6d0785e..67aaad4 100644
--- a/brctl/brctl_cmd.c
+++ b/brctl/brctl_cmd.c
@@ -267,7 +267,7 @@ static int br_cmd_setportprio(int argc, 
 		return 1;
 	}
 
-	err = br_set_path_cost(argv[1], argv[2], cost);
+	err = br_set_port_priority(argv[1], argv[2], cost);
 	if (err)
 		fprintf(stderr, "set port priority failed: %s\n",
 			strerror(errno));
-- 
1.2.4


      reply	other threads:[~2006-05-31 21:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-30 21:46 [Bridge] setportprio problem with bridge-utils 1.0.6 Samuel Díaz García
2006-05-30 23:21 ` Stephen Hemminger
     [not found]   ` <447D77A4.5050205@arcoscom.com>
     [not found]     ` <20060531091022.12361f66@localhost.localdomain>
2006-05-31 21:02       ` Samuel Díaz García
2006-05-31 21:33         ` Stephen Hemminger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060531143341.77ee1b4f@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=bridge@lists.osdl.org \
    --cc=samueldg@arcoscom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox