gnunet: fix priority of ip rule for gnunet-dns
authorDaniel Golle <daniel@makrotopia.org>
Tue, 3 May 2016 14:33:26 +0000 (15:33 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 4 May 2016 14:27:12 +0000 (15:27 +0100)
OpenWrt offers a special 'prelocal' routing table at priority 0.
Use it, so local-to-local DNS traffic also gets redirected properly.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/gnunet/files/gnunet-gns.defaults

index 42404501732ee5fa20249b8f5f17469112eaf6e1..119698174a4f2ad884adeb81308e53dc388b3800 100644 (file)
@@ -16,6 +16,7 @@ del network.gndnsrl
 set network.gndnsrl=rule
 set network.gndnsrl.mark='0x8260035'
 set network.gndnsrl.lookup='53'
+set network.gndnsrk.priority='0'
 
 commit network