batman-adv: prevent using any virtual device created on batman-adv as hard-interface
authorAntonio Quartulli <ordex@autistici.org>
Sun, 9 Sep 2012 08:46:46 +0000 (10:46 +0200)
committerAntonio Quartulli <ordex@autistici.org>
Wed, 14 Nov 2012 20:00:33 +0000 (21:00 +0100)
commitb7eddd0b3950ea9dc863f1cbfa30d172dbf772f4
tree1cf1d410c51381b1f02234c297a2650dee3fa7d5
parenta7528f8ddda9fba061148e18e71761b50b1c6d26
batman-adv: prevent using any virtual device created on batman-adv as hard-interface

Any virtual device created on top of a batman-adv mesh interface must be
prevented to be used to create a new mesh network (this would lead to an
unwanted batman-over-batman configuration)

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
net/batman-adv/hard-interface.c