aboutsummaryrefslogtreecommitdiffstats
path: root/brctl/brctl_cmd.c
diff options
context:
space:
mode:
authorshemminger <shemminger>2004-04-13 22:51:05 +0000
committershemminger <shemminger>2004-04-13 22:51:05 +0000
commit9e65dd9b37f465fc8a62e0e2baa9084d79657d0b (patch)
tree995b86685d11eb52310fa7077b014c1f67a8b015 /brctl/brctl_cmd.c
parent99274cbbd7c2fc8ed0791119fbba2765da29c0c5 (diff)
downloadandroid_external_brctl-9e65dd9b37f465fc8a62e0e2baa9084d79657d0b.tar.gz
android_external_brctl-9e65dd9b37f465fc8a62e0e2baa9084d79657d0b.tar.bz2
android_external_brctl-9e65dd9b37f465fc8a62e0e2baa9084d79657d0b.zip
Support for 1000's of ports on bridge.
Don't read port and bridge info automatically, add a new API hook to do that. Version 0.9.8
Diffstat (limited to 'brctl/brctl_cmd.c')
-rw-r--r--brctl/brctl_cmd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c
index 5e630e8..99d9725 100644
--- a/brctl/brctl_cmd.c
+++ b/brctl/brctl_cmd.c
@@ -276,8 +276,7 @@ void br_cmd_stp(struct bridge *br, char *arg0, char *arg1)
err = br_set_stp_state(br, stp);
if (err)
- fprintf(stderr, "set stp status failed: %s\n",
- strerror(err));
+ fprintf(stderr, "set stp status failed: %d\n", err);
}
void br_cmd_showstp(struct bridge *br, char *arg0, char *arg1)