]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
daemon: don't try to restrict address families
authorVincent Bernat <vincent@bernat.im>
Thu, 13 Jul 2017 06:50:15 +0000 (08:50 +0200)
committerVincent Bernat <vincent@bernat.im>
Thu, 13 Jul 2017 06:50:15 +0000 (08:50 +0200)
lldpd needs access to the most invasive address family. It's pointless
to restrict something like that.

src/daemon/lldpd.service.in

index c95afa7d63cf8fdcf5985fb22d9234e29d1657e3..a28261c57e2af75d96ae0aa4dee5098e7c3632f4 100644 (file)
@@ -13,8 +13,6 @@ ExecStartPre=@mkdir_p@ @PRIVSEP_CHROOT@
 ExecStart=@sbindir@/lldpd $DAEMON_ARGS $LLDPD_OPTIONS
 Restart=on-failure
 PrivateTmp=yes
-# systemd >= 211
-#RestrictAddressFamilies=AF_INET AF_INET6 AF_PACKET AF_NETLINK AF_UNIX
 # systemd >= 214
 #ProtectHome=yes
 #ProtectSystem=yes