Overview
Comment: | remove pbl_set_verdict. It was a waste of code lines. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
49947c31579dcc17adc77c62276b90ed |
User & Date: | rmiller on 2011-03-06 23:30:26 |
Other Links: | manifest | tags |
Context
2012-01-09
| ||
23:12 | Patch per Matthias Bernhardt. check-in: d639e0a548 user: rmiller tags: trunk | |
2011-03-06
| ||
23:30 | remove pbl_set_verdict. It was a waste of code lines. check-in: 49947c3157 user: rmiller tags: trunk | |
23:20 | some bugs related to use_cache, etc. also a lot of cleanup. check-in: 371d474ebc user: rmiller tags: trunk | |
Changes
Modified packetbl.c from [ac69747424] to [194fb5b236].
︙ | ︙ | |||
267 268 269 270 271 272 273 | } ret = nfq_get_payload(nfa, &nfdata); /* what return codes here? */ ret = get_packet_info(nfdata, &ip); if (ret == -1) { | | < < < < < < < < < < < < < < < < < < < < < < < < < < < | < < < < < | 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 | } ret = nfq_get_payload(nfa, &nfdata); /* what return codes here? */ ret = get_packet_info(nfdata, &ip); if (ret == -1) { SET_VERDICT(qh, id, NF_ACCEPT, 0, NULL); return; } ret = packet_check_ip(ip); if (conf.debug >= 2) { printf ("Got packet from %hhu.%hhu.%hhu.%hhu: %d\n", ip.b1, ip.b2, ip.b3, ip.b4, ret); } SET_VERDICT(qh, id, conf.dryrun ? NF_ACCEPT : ret, 0, NULL); } /* * SYNOPSIS: * int main( * int argc, * char **argv |
︙ | ︙ |