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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to