diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2016-08-22 20:19:34 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2016-08-22 20:19:34 +0200 |
commit | 2cf9fa6e597d0706b66e0c01f02b486fd0c9f77d (patch) | |
tree | fec583cd64e7b3d687fe486914672c717992d4f9 | |
parent | b28897849fc3518456d86e26ca61f7d9d465b03f (diff) | |
download | busybox-w32-2cf9fa6e597d0706b66e0c01f02b486fd0c9f77d.tar.gz busybox-w32-2cf9fa6e597d0706b66e0c01f02b486fd0c9f77d.tar.bz2 busybox-w32-2cf9fa6e597d0706b66e0c01f02b486fd0c9f77d.zip |
unshare: --network should be --net. Closes 9116
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | util-linux/unshare.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util-linux/unshare.c b/util-linux/unshare.c index fa7086add..dcc59559a 100644 --- a/util-linux/unshare.c +++ b/util-linux/unshare.c | |||
@@ -103,7 +103,7 @@ enum { | |||
103 | OPT_mount = 1 << 0, | 103 | OPT_mount = 1 << 0, |
104 | OPT_uts = 1 << 1, | 104 | OPT_uts = 1 << 1, |
105 | OPT_ipc = 1 << 2, | 105 | OPT_ipc = 1 << 2, |
106 | OPT_network = 1 << 3, | 106 | OPT_net = 1 << 3, |
107 | OPT_pid = 1 << 4, | 107 | OPT_pid = 1 << 4, |
108 | OPT_user = 1 << 5, /* OPT_user, NS_USR_POS, and ns_list[] index must match! */ | 108 | OPT_user = 1 << 5, /* OPT_user, NS_USR_POS, and ns_list[] index must match! */ |
109 | OPT_fork = 1 << 6, | 109 | OPT_fork = 1 << 6, |
@@ -142,7 +142,7 @@ static const char unshare_longopts[] ALIGN1 = | |||
142 | "mount\0" Optional_argument "\xf0" | 142 | "mount\0" Optional_argument "\xf0" |
143 | "uts\0" Optional_argument "\xf1" | 143 | "uts\0" Optional_argument "\xf1" |
144 | "ipc\0" Optional_argument "\xf2" | 144 | "ipc\0" Optional_argument "\xf2" |
145 | "network\0" Optional_argument "\xf3" | 145 | "net\0" Optional_argument "\xf3" |
146 | "pid\0" Optional_argument "\xf4" | 146 | "pid\0" Optional_argument "\xf4" |
147 | "user\0" Optional_argument "\xf5" | 147 | "user\0" Optional_argument "\xf5" |
148 | "fork\0" No_argument "f" | 148 | "fork\0" No_argument "f" |