diff options
author | Daniel Mack <daniel@zonque.org> | 2015-07-10 21:28:09 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-07-13 17:28:29 +0200 |
commit | 22a37591ede1e9d5f325d6f10495cc91b40b775f (patch) | |
tree | b104fe9ca3a35d17acdcffc7444aadcdc1d87606 /src/resolve/resolved-llmnr.h | |
parent | resolved: move LLMNR related functions into separate file (diff) | |
download | systemd-22a37591ede1e9d5f325d6f10495cc91b40b775f.tar.xz systemd-22a37591ede1e9d5f325d6f10495cc91b40b775f.zip |
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.h | 2 |
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); |