Date: Fri, 17 Aug 2001 14:01:58 -0300 (BRT) From: Joao Carlos Mendes Luis <jonny@eng05.embratel.net.br> To: FreeBSD-gnats-submit@freebsd.org Subject: bin/29812: ifconfig plumb does not work Message-ID: <20010817170158.6349E24D5B@eng05.embratel.net.br>
next in thread | raw e-mail | index | archive | help
>Number: 29812 >Category: bin >Synopsis: ifconfig plumb does not work >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 17 10:10:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Joao Carlos Mendes Luis >Release: FreeBSD 4.4-PRERELEASE i386 >Organization: Embratel >Environment: System: FreeBSD eng05.embratel.net.br 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #1: Fri Aug 17 11:34:54 BRT 2001 jonny@eng05.embratel.net.br:/usr/cvsup/RELENG_4/src/sys/compile/BUFFY i386 4-STABLE, 1 week old >Description: Network clone interfaces should be created with ifconfig create command, but an alias referenced in the manal is "ifconfig plumb". Since "create" is a special case in the ifconfig sources, it had to be trated out of the main command list array. In that array, plumb is referenced but not used. In the special case, plumb is not referenced. (I would also change the ifconfig manual to reference the word "clone" somewhere near the create option) >How-To-Repeat: ifconfig gif0 plumb >Fix: --- ifconfig.c.org Fri Aug 17 13:55:06 2001 +++ ifconfig.c Fri Aug 17 13:56:46 2001 @@ -519,7 +519,8 @@ * 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) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010817170158.6349E24D5B>