From 80124a050c626584f19fbac917276946224bcde7 Mon Sep 17 00:00:00 2001 From: Roy Marples Date: Thu, 1 Nov 2007 22:25:53 +0000 Subject: Work cleanly with bridges on kernels without TCP, #197791. --- net.Linux/ifconfig.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'net.Linux/ifconfig.sh') diff --git a/net.Linux/ifconfig.sh b/net.Linux/ifconfig.sh index bc04cdb7..4051ef57 100644 --- a/net.Linux/ifconfig.sh +++ b/net.Linux/ifconfig.sh @@ -42,6 +42,10 @@ _is_wireless() { grep -Eq "^[[:space:]]*${IFACE}:" /proc/net/wireless } +_set_flag() { + ifconfig "${IFACE}" "$1" +} + _get_mac_address() { local mac=$(LC_ALL=C ifconfig "${IFACE}" | \ sed -n -e 's/.* HWaddr \(..:..:..:..:..:..\).*/\1/p') -- cgit v1.2.3