summaryrefslogtreecommitdiff
path: root/dumpcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/dumpcap.c b/dumpcap.c
index d28c1c9076..67110e758a 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -3693,6 +3693,7 @@ set_80211_channel(const char *iface, const char *opt)
if (args >= 1 && options[1]) {
type = ws80211_str_to_chan_type(options[1]);
if (type == -1) {
+ cmdarg_err("\"%s\" is not a valid 802.11 channel type", options[1]);
ret = EINVAL;
goto out;
}