Andrey V. Elsukov
5c88595e07
Do not allow use create
keyword as hostname when ifconfig(8) is invoked
...
for already existing interface.
It appeared, that ifconfig(8) assumes `create` keyword as hostname and
tries to resolve it, when `ifconfig ifname create` invoked for already
existing interface. This can produce some unexpected results, when hostname
resolving has successfully happened. This patch adds check for such case.
When an interface is already exists, and create is only one argument,
return error message. But when there are some other arguments, just remove
create keyword from the arguments list.
Obtained from: Yandex LLC
MFC after: 3 weeks
Sponsored by: Yandex LLC
Differential Revision: https://reviews.freebsd.org/D17171
2018-10-21 14:40:45 +00:00
..
2017-11-27 15:37:16 +00:00
2018-08-24 20:44:58 +00:00
2018-09-18 20:52:24 +00:00
2018-06-14 01:15:19 +00:00
2017-12-30 00:26:42 +00:00
2018-01-26 00:58:32 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-08-11 13:25:39 +00:00
2018-09-19 07:07:03 +00:00
2018-09-22 15:32:53 +00:00
2018-08-22 15:55:23 +00:00
2018-08-25 15:47:52 +00:00
2018-09-18 00:11:45 +00:00
2017-11-20 19:49:47 +00:00
2018-07-26 16:45:25 +00:00
2018-02-08 23:06:58 +00:00
2018-06-19 23:43:14 +00:00
2018-04-23 21:10:33 +00:00
2017-10-31 00:07:04 +00:00
2017-11-18 14:26:50 +00:00
2017-11-27 15:37:16 +00:00
2018-10-02 13:45:25 +00:00
2018-07-13 02:02:16 +00:00
2018-04-08 07:06:12 +00:00
2018-01-26 00:58:32 +00:00
2017-11-27 15:37:16 +00:00
2018-09-14 15:29:45 +00:00
2017-11-27 15:37:16 +00:00
2018-01-26 00:58:32 +00:00
2018-06-17 01:39:22 +00:00
2017-11-27 15:37:16 +00:00
2018-07-03 15:48:34 +00:00
2018-10-21 14:40:45 +00:00
2018-10-17 16:49:11 +00:00
2017-11-10 07:52:58 +00:00
2018-09-27 18:14:01 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2018-07-02 09:14:00 +00:00
2017-11-27 15:37:16 +00:00
2018-08-09 11:46:12 +00:00
2018-08-23 18:19:01 +00:00
2017-11-27 15:37:16 +00:00
2018-10-20 21:33:00 +00:00
2017-11-20 19:49:47 +00:00
2017-11-27 15:37:16 +00:00
2018-08-07 21:17:45 +00:00
2018-08-11 08:34:24 +00:00
2017-11-27 15:37:16 +00:00
2017-11-27 15:37:16 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2017-11-27 15:37:16 +00:00
2017-10-31 00:07:04 +00:00
2018-06-24 05:40:42 +00:00
2018-06-15 06:03:40 +00:00
2017-11-27 15:37:16 +00:00
2017-11-20 19:49:47 +00:00
2017-11-27 15:37:16 +00:00
2018-10-20 21:13:57 +00:00
2018-10-20 18:18:28 +00:00
2017-10-31 00:07:04 +00:00
2018-09-09 17:26:44 +00:00
2017-11-20 19:49:47 +00:00
2018-06-16 23:47:59 +00:00
2017-11-27 15:37:16 +00:00
2018-09-14 18:12:30 +00:00
2017-11-30 20:33:45 +00:00
2017-03-04 11:33:01 +00:00
2018-08-11 16:12:23 +00:00
2018-03-31 15:06:14 +00:00
2017-12-28 05:34:24 +00:00
2017-10-31 00:07:04 +00:00
2018-08-04 22:15:59 +00:00
2017-10-31 00:07:04 +00:00
2017-11-20 19:49:47 +00:00
2018-01-02 09:02:42 +00:00
2017-11-27 15:37:16 +00:00
2017-11-20 19:49:47 +00:00
2017-11-20 19:49:47 +00:00
2018-09-24 20:46:45 +00:00
2016-05-04 23:20:53 +00:00
2018-10-17 16:54:13 +00:00
2018-09-13 13:57:42 +00:00
2017-10-31 00:07:04 +00:00
2018-07-24 13:21:44 +00:00
2018-06-14 01:15:19 +00:00
2018-06-14 01:15:19 +00:00
2018-06-14 01:15:19 +00:00