Skip to content
Commit 82ce6eb1 authored by Jeffrin Jose T's avatar Jeffrin Jose T Committed by Pablo Neira Ayuso
Browse files

selftests: netfilter: missing error check when setting up veth interface



A test for the basic NAT functionality uses ip command which needs veth
device. There is a condition where the kernel support for veth is not
compiled into the kernel and the test script breaks. This patch contains
code for reasonable error display and correct code exit.

Signed-off-by: default avatarJeffrin Jose T <jeffrin@rajagiritech.edu.in>
Acked-by: default avatarFlorian Westphal <fw@strlen.de>
Signed-off-by: default avatarPablo Neira Ayuso <pablo@netfilter.org>
parent 719c7d56
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment