aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@zqx3.pdx.osdl.net>2006-05-31 14:20:30 -0700
committerStephen Hemminger <shemminger@zqx3.pdx.osdl.net>2006-05-31 14:20:30 -0700
commit32a43e993241ff53f3333c4533d135c4f6cead73 (patch)
tree4c3fb6802d3ceabacc739cfea7edf7b8451bb640
parent0a5a8a838009222e9b2ddbc570a6a001ce5fc603 (diff)
downloadandroid_external_brctl-32a43e993241ff53f3333c4533d135c4f6cead73.tar.gz
android_external_brctl-32a43e993241ff53f3333c4533d135c4f6cead73.tar.bz2
android_external_brctl-32a43e993241ff53f3333c4533d135c4f6cead73.zip
Fix bug where changing port priority changed path cost instead.
-rw-r--r--ChangeLog4
-rw-r--r--brctl/brctl_cmd.c2
2 files changed, 5 insertions, 1 deletions
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, char *const* argv)
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));