]> code.ossystems Code Review - openembedded-core.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:21:15 +0000 (16:21 +0100)
commitef38a0aed35357d035ca587162158cd2f55b958f
tree3d65e71e0705bcf44f415307d02a8624806f48f8
parentec08d92641cc51c567cc3745937b1839d3faa095
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]

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