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] [