Add test case for tunnel
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#include "packet_priv.h"
|
||||
#include "packet_utils.h"
|
||||
|
||||
int packet_get_layer(const struct packet *pkt, int idx, struct layer *out)
|
||||
int packet_get_layer_by_idx(const struct packet *pkt, int idx, struct layer *out)
|
||||
{
|
||||
const struct raw_layer *raw = packet_get_raw_layer(pkt, idx);
|
||||
if (raw == NULL)
|
||||
|
||||
Reference in New Issue
Block a user