summaryrefslogtreecommitdiff
path: root/src/resolve/resolved-llmnr.h
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-07-10 15:28:09 -0400
committerDaniel Mack <daniel@zonque.org>2015-07-13 11:28:29 -0400
commit22a37591ede1e9d5f325d6f10495cc91b40b775f (patch)
treeb104fe9ca3a35d17acdcffc7444aadcdc1d87606 /src/resolve/resolved-llmnr.h
parent5f402ae84bbc08fe8de5682e371b3f66c387da52 (diff)
resolved: use a #define for LLMNR port
De-duplicate some magic numbers.
Diffstat (limited to 'src/resolve/resolved-llmnr.h')
-rw-r--r--src/resolve/resolved-llmnr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-llmnr.h b/src/resolve/resolved-llmnr.h
index 640644000a..d489d481e8 100644
--- a/src/resolve/resolved-llmnr.h
+++ b/src/resolve/resolved-llmnr.h
@@ -23,6 +23,8 @@
#include "resolved-manager.h"
+#define LLMNR_PORT 5355
+
int manager_llmnr_ipv4_udp_fd(Manager *m);
int manager_llmnr_ipv6_udp_fd(Manager *m);
int manager_llmnr_ipv4_tcp_fd(Manager *m);