diff options
author | brooks <brooks@FreeBSD.org> | 2001-08-17 22:16:11 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2001-08-17 22:16:11 +0000 |
commit | 426e63d9a66291dab270729160301de4c826f266 (patch) | |
tree | 769d01640e701b2a05308aef887a3798d91507b1 /sbin/ifconfig/ifconfig.c | |
parent | 0585574d9be6fe2dac8d7cb553396b85e52cc200 (diff) | |
download | FreeBSD-src-426e63d9a66291dab270729160301de4c826f266.zip FreeBSD-src-426e63d9a66291dab270729160301de4c826f266.tar.gz |
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>
Diffstat (limited to 'sbin/ifconfig/ifconfig.c')
-rw-r--r-- | sbin/ifconfig/ifconfig.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/ifconfig/ifconfig.c b/sbin/ifconfig/ifconfig.c index 34f9d03..f28ac44 100644 --- a/sbin/ifconfig/ifconfig.c +++ b/sbin/ifconfig/ifconfig.c @@ -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) |