"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "grammar.y.in" between
libpcap-1.10.0.tar.gz and libpcap-1.10.1.tar.gz

About: libpcap is a packet filter library used by tools like tcpdump.

grammar.y.in  (libpcap-1.10.0):grammar.y.in  (libpcap-1.10.1)
skipping to change at line 652 skipping to change at line 652
} }
| ID { const struct tok *types = NULL; | ID { const struct tok *types = NULL;
int i; int i;
CHECK_PTR_VAL($1); CHECK_PTR_VAL($1);
for (i = 0;; i++) { for (i = 0;; i++) {
if (ieee80211_type_subtypes[i].tok == NUL L) { if (ieee80211_type_subtypes[i].tok == NUL L) {
/* Ran out of types */ /* Ran out of types */
bpf_set_error(cstate, "unknown 80 2.11 type"); bpf_set_error(cstate, "unknown 80 2.11 type");
YYABORT; YYABORT;
} }
if (-1 == ieee80211_type_subtypes[i].type ) { if ($<i>-1 == ieee80211_type_subtypes[i]. type) {
types = ieee80211_type_subtypes[i ].tok; types = ieee80211_type_subtypes[i ].tok;
break; break;
} }
} }
$$ = str2tok($1, types); $$ = str2tok($1, types);
if ($$ == -1) { if ($$ == -1) {
bpf_set_error(cstate, "unknown 802.11 sub type name \"%s\"", $1); bpf_set_error(cstate, "unknown 802.11 sub type name \"%s\"", $1);
YYABORT; YYABORT;
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)