Skip to content
Commit 055f9f95 authored by Jeffrin Jose T's avatar Jeffrin Jose T Committed by Paul Gortmaker
Browse files

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



commit 82ce6eb1 upstream.

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>
Signed-off-by: default avatarPaul Gortmaker <paul.gortmaker@windriver.com>
parent d3eb2922
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