From owner-svn-src-all@freebsd.org Mon Oct 16 22:07:51 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 25B58E4691B; Mon, 16 Oct 2017 22:07:51 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: from mail-lf0-f54.google.com (mail-lf0-f54.google.com [209.85.215.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2CC6B6F707; Mon, 16 Oct 2017 22:07:50 +0000 (UTC) (envelope-from andriyvos@gmail.com) Received: by mail-lf0-f54.google.com with SMTP id d10so18634133lfg.11; Mon, 16 Oct 2017 15:07:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:cc:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to:user-agent; bh=TWca2By9aFYCJ+qWeGY1yK3IKRhPjrZAuCKf6a/WVqo=; b=ZV+Smzef3SF0Qc2bTTmwF2HKt3oDA1EIX5/y2qLriGNSQZj2kPvzbj7UN+KkwdXIp/ LfTpyigwsfccEjQirDoRVAsHA4aoMFdO3sEK9eHoFlWAAEi1Hi64mFC/guSLu/ec4bJG WqG/s7+0ns2qDFoaFOZYHWRqsPwHTtPpE+7XxkaXL5rCKY2IOLVVgXtzDvBpZgCbqZtv ywRuQqBc3qw1ifvbpj7NbXDWlvIq3wkH4ZDI8I5WiFBzT7McCaShs7Q3jEHPgepGz6ff 1FDhdoE80ehbip/1djvTpuZUO7NBrD/uikOybJfLvQ+Z4YY+nlf7Q76JarzNtxTRxHwn zxPw== X-Gm-Message-State: AMCzsaU67xVcQsE2xm431w+m2L6d2AZtmXHMQFUu1vBhWCDmVIjsbDAq 0c4oz5R8IuvxK79WbYBtyYyr9g== X-Google-Smtp-Source: ABhQp+QxC/kiAhmijiUf+jiJRshIFZmfkaxzDCpLKLo0/4ISrjKzmKrMEm3m4WR50K0phqBMpG/gHw== X-Received: by 10.25.195.6 with SMTP id t6mr3700159lff.106.1508184096513; Mon, 16 Oct 2017 13:01:36 -0700 (PDT) Received: from localhost (46-133-70-134.dialup.umc.net.ua. [46.133.70.134]) by smtp.gmail.com with ESMTPSA id k86sm2107580ljb.97.2017.10.16.13.01.33 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 16 Oct 2017 13:01:35 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: "Baptiste Daroussin" Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r324656 - head/lib/libifconfig References: <201710160654.v9G6sQmA062311@repo.freebsd.org> <20171016082919.fyp2uiui7hzarrs2@ivaldir.net> Date: Mon, 16 Oct 2017 22:58:55 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Andriy Voskoboinyk" Message-ID: In-Reply-To: <20171016082919.fyp2uiui7hzarrs2@ivaldir.net> User-Agent: Opera Mail/12.15 (FreeBSD) X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Oct 2017 22:07:51 -0000 > On Mon, Oct 16, 2017 at 06:54:26AM +0000, Andriy Voskoboinyk wrote: >> Author: avos >> Date: Mon Oct 16 06:54:26 2017 >> New Revision: 324656 >> URL: https://svnweb.freebsd.org/changeset/base/324656 >> >> Log: >> libifconfig: allow to get original interface name via >> ifconfig_get_orig_name() >> >> Uses the same method as in tools/tools/ifinfo/ifinfo.c >> (via net.link.generic sysctl). >> >> Tested with modified wlandebug(8). >> >> Differential Revision: https://reviews.freebsd.org/D12554 >> >> Modified: >> head/lib/libifconfig/libifconfig.c >> head/lib/libifconfig/libifconfig.h >> >> Modified: head/lib/libifconfig/libifconfig.c >> ============================================================================== >> --- head/lib/libifconfig/libifconfig.c Mon Oct 16 04:46:28 >> 2017 (r324655) >> +++ head/lib/libifconfig/libifconfig.c Mon Oct 16 06:54:26 >> 2017 (r324656) >> @@ -61,9 +61,43 @@ >> * $FreeBSD$ >> */ >> >> + /* >> + * Copyright 1996 Massachusetts Institute of Technology >> + * > 1996? > > This file was already under a BSD license, why adding an extra MIT > license to > it? It would be better to keep it under BSD license imho This one came unchanged from tools/tools/ifinfo/ifinfo.c (with modified code from it); I'm not sure if it can be just omitted. > > Best regards, > Bapt