net/mwan3: add hotplug script for hidden self interface generation
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 4 Aug 2017 11:23:39 +0000 (13:23 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 10 Aug 2017 10:32:56 +0000 (12:32 +0200)
commitc872189d666f92a1611cd389a1a1f0eb2ae880df
treee0645dc0d7ac0ec8ae2e646852dcb9901709863d
parent44eb0a7c9ded2756fbce0da055f081176b6cd2da
net/mwan3: add hotplug script for hidden self interface generation

Add new globals config section with option local_source.

With this config option the self interface generation will be done now
automatically on hotplug event. You can specify which interface (ip)
sould be used for router traffic. To replace the self intereface in the
config set local_source to "lan".

The default option is none, so it will not change default behavior if a
"self" interface is configured in the network section.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/mwan3/files/etc/hotplug.d/iface/14-mwan3 [new file with mode: 0644]