diff options
-rw-r--r-- | netsniff-ng.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/netsniff-ng.c b/netsniff-ng.c index ecb9e9a..eaf2416 100644 --- a/netsniff-ng.c +++ b/netsniff-ng.c @@ -347,8 +347,6 @@ static void receive_to_xmit(struct ctx *ctx) panic("Ingress/egress devices must be different!\n"); if (!device_up_and_running(ctx->device_out)) panic("Egress device not up and running!\n"); - if (!device_up_and_running(ctx->device_in)) - panic("Ingress device not up and running!\n"); rx_sock = pf_socket(); tx_sock = pf_socket(); @@ -820,9 +818,6 @@ static void recv_only_or_dump(struct ctx *ctx) struct timeval start, end, diff; pcap_pkthdr_t phdr; - if (!device_up_and_running(ctx->device_in) && !ctx->rfraw) - panic("Device not up and running!\n"); - sock = pf_socket(); if (ctx->rfraw) { |