Actuall make plumb work in addition to create as per the manpage.
PR: bin/29812 Submitted by: Joao Carlos Mendes Luis <jonny@eng05.embratel.net.br>
This commit is contained in:
parent
e6063dd1a6
commit
1ce95f7862
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81862
@ -519,7 +519,8 @@ main(argc, argv)
|
||||
* here as we would otherwise fail when trying to find
|
||||
* the interface.
|
||||
*/
|
||||
if (argc > 0 && strcmp(argv[0], "create") == 0) {
|
||||
if (argc > 0 && (strcmp(argv[0], "create") == 0 ||
|
||||
strcmp(argv[0], "plumb") == 0)) {
|
||||
clone_create();
|
||||
argc--, argv++;
|
||||
if (argc == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user