]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
priv: document functions that should not use the monitor process
authorVincent Bernat <vincent@bernat.im>
Sat, 6 Aug 2016 21:46:06 +0000 (23:46 +0200)
committerVincent Bernat <vincent@bernat.im>
Sat, 6 Aug 2016 21:46:06 +0000 (23:46 +0200)
We should use them only if "oldies" are enabled.

src/daemon/priv-linux.c

index a21e12200494dbc3cf262bfcfdb53f454d825e4e..ee78bb664d9ab761716f7c8cf3bb4f6c2a64409f 100644 (file)
@@ -53,7 +53,8 @@ priv_open(char *file)
        return receive_fd(PRIV_UNPRIVILEGED);
 }
 
-/* Proxy for ethtool ioctl (GSET only) */
+/* Proxy for ethtool ioctl (GSET only). Not needed since
+ * 0fdc100bdc4b7ab61ed632962c76dfe539047296 (2.6.37) */
 int
 priv_ethtool(char *ifname, void *ethc, size_t length)
 {
@@ -71,7 +72,8 @@ priv_ethtool(char *ifname, void *ethc, size_t length)
        return rc;
 }
 
-/* Proxy to get permanent MAC address */
+/* Proxy to get permanent MAC address. Not needed since
+ * 75f3123c118743f52b690d9ab41649814befda0a (2.6.19). */
 int
 priv_iface_mac(char *ifname, void *mac, size_t length)
 {