aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen@networkplumber.org>2020-06-23 10:07:52 -0700
committerStephen Hemminger <stephen@networkplumber.org>2020-06-23 10:07:52 -0700
commitbfa68419ea07ab0176575ffc8c54f4d48f48eda2 (patch)
treeaec2c9b606b7851ab0f65d51006a9188c72b81a2
parentee2cac068f05e2abc1427f7dd59d091cc58dd381 (diff)
downloadbridge-utils-bfa68419ea07ab0176575ffc8c54f4d48f48eda2.tar.gz
Replace references to enslave
The term enslave is not appropriate in this context.
-rw-r--r--README2
-rw-r--r--brctl/brctl_cmd.c6
-rw-r--r--doc/HOWTO2
3 files changed, 5 insertions, 5 deletions
diff --git a/README b/README
index 3062956..28edc0d 100644
--- a/README
+++ b/README
@@ -10,7 +10,7 @@ Advantages of the new code are:
- Each bridge is seen as a logical device, which allows you to do
firewalling between port groups for example.
- Everything is dynamic; bridges are created dynamically using the
- userspace configuration tool, ports are 'enslaved' dynamically, etc.
+ userspace configuration tool, ports are added dynamically, etc.
- It is being actively maintained.
- It uses a hash table for MAC addresses, not an AVL tree.
- It's small (currently 4 pages of i386 code) and modular.
diff --git a/brctl/brctl_cmd.c b/brctl/brctl_cmd.c
index acd66be..81f7dfa 100644
--- a/brctl/brctl_cmd.c
+++ b/brctl/brctl_cmd.c
@@ -104,13 +104,13 @@ static int br_cmd_addif(int argc, char *const* argv)
case EBUSY:
fprintf(stderr, "device %s is already a member of a bridge; "
- "can't enslave it to bridge %s.\n", ifname,
+ "can't add it to bridge %s.\n", ifname,
brname);
break;
case ELOOP:
fprintf(stderr, "device %s is a bridge device itself; "
- "can't enslave a bridge device to a bridge device.\n",
+ "can't add a bridge device to a bridge device.\n",
ifname);
break;
@@ -146,7 +146,7 @@ static int br_cmd_delif(int argc, char *const* argv)
break;
case EINVAL:
- fprintf(stderr, "device %s is not a slave of %s\n",
+ fprintf(stderr, "device %s is not a port of %s\n",
ifname, brname);
break;
diff --git a/doc/HOWTO b/doc/HOWTO
index 3729618..98e4520 100644
--- a/doc/HOWTO
+++ b/doc/HOWTO
@@ -34,7 +34,7 @@ create an instance of the bridge first.
# brctl addbr br0
(You can check that this gives you a network interface called br0.)
-Now we want to enslave eth0 and eth1 to this bridge.
+Now we want to add devices eth0 and eth1 to this bridge.
# brctl addif br0 eth0
# brctl addif br0 eth1