Browse Source

gluon-radvd: run on br-client to provide that interface with an address

Matthias Schiffer 10 years ago
parent
commit
6e2b5a19b3

+ 1 - 1
package/gluon-radvd/Makefile

@@ -12,7 +12,7 @@ define Package/gluon-radvd
   SECTION:=gluon
   CATEGORY:=Gluon
   TITLE:=Advertise an IPv6 prefix from the node
-  DEPENDS:=+gluon-core +gluon-ebtables +gluon-next-node +radvd
+  DEPENDS:=+gluon-core +gluon-ebtables +gluon-mesh-batman-adv +radvd
 endef
 
 define Package/gluon-radvd/description

+ 2 - 0
package/gluon-radvd/files/lib/gluon/ebtables/300-radv-input-output

@@ -0,0 +1,2 @@
+rule INPUT -p IPv6 --ip6-protocol ipv6-icmp --ip6-icmp-type router-solicitation -i bat0 -j DROP
+rule OUTPUT -p IPv6 --ip6-protocol ipv6-icmp --ip6-icmp-type router-advertisement -o bat0 -j DROP

+ 1 - 1
package/gluon-radvd/generate/lib/gluon/radvd/radvd.conf

@@ -1,4 +1,4 @@
-interface local-node
+interface br-client
 {
 	IgnoreIfMissing on;
 	AdvSendAdvert on;