]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
runqemu-ifdown: clean up the remaining iptables rules
authorChen Qi <Qi.Chen@windriver.com>
Wed, 28 Aug 2013 02:52:03 +0000 (10:52 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 30 Aug 2013 15:23:47 +0000 (16:23 +0100)
commitb2a0e3ad91ddc0d62592a59cf0367be1349170d0
treea4d19508593b89bae41e41489fa5c2857f9e1577
parent5bffc4ff4dde35d2ceb21242c1372113406369ff
runqemu-ifdown: clean up the remaining iptables rules

The iptables rules for the tap interface are added by runqemu-ifup
everytime we use runqemu to start a qemu target. But it's not cleaned
up when runqemu exits.

This patch cleans up the remaining iptables rules for the tap interface
in runqemu-ifdown.

[YOCTO #5047]

(From OE-Core rev: ef38a0aed35357d035ca587162158cd2f55b958f)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/runqemu-ifdown