mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +08:00
network: disable IPv6AcceptRA= in several default config
Also, - drop DHCP=no, as it is the default setting, - enable IPv6SendRA= for wifi access point, - enable MulticastDNS= for wifi adhoc mode.
This commit is contained in:
parent
bae0bd0024
commit
71164ee9fe
@ -16,6 +16,5 @@ Property=ID_NET_AUTO_LINK_LOCAL_ONLY=1
|
||||
|
||||
[Network]
|
||||
LinkLocalAddressing=yes
|
||||
DHCP=no
|
||||
IPv6AcceptRA=no
|
||||
MulticastDNS=yes
|
||||
|
@ -27,4 +27,5 @@ DHCPServer=yes
|
||||
IPMasquerade=both
|
||||
LLDP=yes
|
||||
EmitLLDP=customer-bridge
|
||||
IPv6AcceptRA=no
|
||||
IPv6SendRA=yes
|
||||
|
@ -26,4 +26,5 @@ DHCPServer=yes
|
||||
IPMasquerade=both
|
||||
LLDP=yes
|
||||
EmitLLDP=customer-bridge
|
||||
IPv6AcceptRA=no
|
||||
IPv6SendRA=yes
|
||||
|
@ -26,4 +26,5 @@ DHCPServer=yes
|
||||
IPMasquerade=both
|
||||
LLDP=yes
|
||||
EmitLLDP=customer-bridge
|
||||
IPv6AcceptRA=no
|
||||
IPv6SendRA=yes
|
||||
|
@ -17,3 +17,5 @@ WLANInterfaceType=ad-hoc
|
||||
|
||||
[Network]
|
||||
LinkLocalAddressing=yes
|
||||
IPv6AcceptRA=no
|
||||
MulticastDNS=yes
|
||||
|
@ -17,3 +17,5 @@ WLANInterfaceType=ap
|
||||
Address=0.0.0.0/24
|
||||
DHCPServer=yes
|
||||
IPMasquerade=both
|
||||
IPv6AcceptRA=no
|
||||
IPv6SendRA=yes
|
||||
|
Loading…
Reference in New Issue
Block a user