From owner-svn-src-all@freebsd.org Thu Sep 29 05:37:46 2016 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 8F935C019F5; Thu, 29 Sep 2016 05:37:46 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 623BC1C8F; Thu, 29 Sep 2016 05:37:46 +0000 (UTC) (envelope-from kevlo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8T5bjqR032928; Thu, 29 Sep 2016 05:37:45 GMT (envelope-from kevlo@FreeBSD.org) Received: (from kevlo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8T5bjYW032926; Thu, 29 Sep 2016 05:37:45 GMT (envelope-from kevlo@FreeBSD.org) Message-Id: <201609290537.u8T5bjYW032926@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevlo set sender to kevlo@FreeBSD.org using -f From: Kevin Lo Date: Thu, 29 Sep 2016 05:37:45 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r306434 - in head/sys: contrib/ipfilter/netinet net X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Thu, 29 Sep 2016 05:37:46 -0000 Author: kevlo Date: Thu Sep 29 05:37:45 2016 New Revision: 306434 URL: https://svnweb.freebsd.org/changeset/base/306434 Log: Remove the compatibility macro if_addrlist. Since if_addrlist is used only for ipfilter(4), add a macro if_addrlist in ip_compat.h. Reviewed by: cy Differential Revision: https://reviews.freebsd.org/D8059 Modified: head/sys/contrib/ipfilter/netinet/ip_compat.h head/sys/net/if_var.h Modified: head/sys/contrib/ipfilter/netinet/ip_compat.h ============================================================================== --- head/sys/contrib/ipfilter/netinet/ip_compat.h Thu Sep 29 05:13:58 2016 (r306433) +++ head/sys/contrib/ipfilter/netinet/ip_compat.h Thu Sep 29 05:37:45 2016 (r306434) @@ -175,6 +175,7 @@ struct ether_addr { } while (0) # include # define GETKTIME(x) microtime((struct timeval *)x) +# define if_addrlist if_addrhead # include # include Modified: head/sys/net/if_var.h ============================================================================== --- head/sys/net/if_var.h Thu Sep 29 05:13:58 2016 (r306433) +++ head/sys/net/if_var.h Thu Sep 29 05:37:45 2016 (r306434) @@ -313,7 +313,6 @@ struct ifnet { }; /* for compatibility with other BSDs */ -#define if_addrlist if_addrhead #define if_list if_link #define if_name(ifp) ((ifp)->if_xname)