From cd8dbcdc87ac23e74e08da49e583e8b98b8bb734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sat, 11 Dec 2010 00:01:49 +0000 Subject: [PATCH] * Added basic WLAN support to ifconfig. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39814 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/bin/network/ifconfig/ifconfig.cpp | 257 +++++++++++++++++++++++++- 1 file changed, 250 insertions(+), 7 deletions(-) diff --git a/src/bin/network/ifconfig/ifconfig.cpp b/src/bin/network/ifconfig/ifconfig.cpp index 73ba09f49e..e1030558ce 100644 --- a/src/bin/network/ifconfig/ifconfig.cpp +++ b/src/bin/network/ifconfig/ifconfig.cpp @@ -19,6 +19,7 @@ #include #include +#include #include #include @@ -52,7 +53,7 @@ struct media_type { } subtypes [6]; struct { int option; - bool ro; + bool read_only; const char* name; const char* pretty; } options [6]; @@ -119,7 +120,9 @@ usage(int status) { printf("usage: %s [ [
] [
[] | " "auto-config] [