From: Guy Harris Date: Mon, 7 Jul 2014 20:44:12 +0000 (-0700) Subject: Shorten a status text description. X-Git-Tag: tcpdump-4.6.1~9 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/ff23dba40e728115b878b009ec299b47b924991d Shorten a status text description. Instead of just copying-and-pasting from 802.11, edit the description a bit; this squelches a Coverity warning (it thought we might have forgotten a comma in the list), and also means we don't quite print out as much. (If Table 8-37 "Status codes" in 802.11-2012 had names for *all* the status codes, we could use the names instead of the explanatory text, but, for some unknown reason, it doesn't.) --- diff --git a/print-802_11.c b/print-802_11.c index 4f76a4aa..697e2c92 100644 --- a/print-802_11.c +++ b/print-802_11.c @@ -1187,9 +1187,7 @@ static const char *status_text[] = { "The request has not been successful as one or more parameters " "have invalid values", /* 38 */ "The TS has not been created because the request cannot be honored. " - "However, a suggested TSPEC is provided so that the initiating QSTA" - "may attempt to set another TS with the suggested changes to the " - "TSPEC", /* 39 */ + "Try again with the suggested changes to the TSPEC", /* 39 */ "Invalid Information Element", /* 40 */ "Group Cipher is not valid", /* 41 */ "Pairwise Cipher is not valid", /* 42 */