From owner-freebsd-rc@FreeBSD.ORG Sat Apr 4 00:36:09 2015 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 26589F60 for ; Sat, 4 Apr 2015 00:36:09 +0000 (UTC) Received: from sdf.org (ma.sdf.org [192.94.73.31]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "ma.sdf.org", Issuer "ma.sdf.org" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DF09997B for ; Sat, 4 Apr 2015 00:36:08 +0000 (UTC) Received: from ma.sdf.org (IDENT:U2FsdGVkX1+ikB2Qpj+/ycfbRfAds428NMY6v6Rdjvs@ma.sdf.org [192.94.73.31]) by sdf.org (8.14.4/8.14.3) with ESMTP id t33NhYY9015753 for ; Fri, 3 Apr 2015 23:43:34 GMT MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 03 Apr 2015 17:43:34 -0600 From: cpet To: freebsd-rc@freebsd.org Subject: possible error in gifconfig Message-ID: X-Sender: cpet@sdf.org User-Agent: Roundcube Webmail/1.0.1 X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Apr 2015 00:36:09 -0000 Setting up a HE tunnel I notice that gifconfig_gif0 wrongly assigns the IPs if I add in gifconfig_gif0="ip ip2" ifconfig shows just: inet 64.6.104.115 --> 184.105.253.10 if I add in ifconfig_gif0="tunnel ip ip2" then it properly shows: tunnel inet 64.6.104.115 --> 184.105.253.10 Making the tunnel work as expected. I could not find the code which adds this in except for: tmpargs=$(get_if_var $ifn gifconfig_IF) eval ifconfig_${ifn}=\"tunnel \$tmpargs\"