1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by scripts/Create-CopyPatch.
4 # T2 SDE: package/*/inetutils/path-proc-net.patch
5 # Copyright (C) 2021 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 --- inetutils-2.0/ifconfig/system/linux.c.vanilla 2021-02-06 17:16:29.261063633 +0100
18 +++ inetutils-2.0/ifconfig/system/linux.c 2021-02-06 17:17:23.747066444 +0100
20 #include <read-file.h>
21 #include <unused-parameter.h>
23 +#ifndef PATH_PROCNET_DEV
24 +#define PATH_PROCNET_DEV "/proc/net/dev"
27 #include "../ifconfig.h"