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:
brooks 2001-08-17 22:16:11 +00:00
parent e28e900e18
commit 40e92b5a41

View File

@ -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)