Skip to content

Commit

Permalink
We don't always have the original request
Browse files Browse the repository at this point in the history
  • Loading branch information
arr2036 committed Feb 27, 2015
1 parent f8616b8 commit 7062408
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/radsniff.c
Expand Up @@ -915,7 +915,7 @@ static inline int rs_response_to_pcap(rs_event_t *event, rs_request_t *request,
* If we're filtering by response then the requests then the capture buffer
* associated with the request should contain buffered request packets.
*/
if (conf->filter_response) {
if (conf->filter_response && request) {
rs_capture_t *start;

/*
Expand Down

0 comments on commit 7062408

Please sign in to comment.