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
e28e900e18
commit
40e92b5a41
@ -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