net/mwan3: reduce duplicate code
authorFlorian Eckert <fe@dev.tdt.de>
Mon, 15 Oct 2018 14:24:25 +0000 (16:24 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 23 Oct 2018 12:44:29 +0000 (14:44 +0200)
commitac8c4512d194a5d0b891a88a9e41e45d6ec2f9bb
tree019cd05feebdf5e04ccc4c62347fba905b101198
parent952f3e1361a462930fb78513e8e1bf34c30ca16d
net/mwan3: reduce duplicate code

The generation for reporting the policies uses the same code add a
common function to reduce duplication.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/mwan3/files/lib/mwan3/mwan3.sh