diff options
author | Daniel Mack <daniel@zonque.org> | 2015-07-10 15:28:09 -0400 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-07-13 11:28:29 -0400 |
commit | 22a37591ede1e9d5f325d6f10495cc91b40b775f (patch) | |
tree | b104fe9ca3a35d17acdcffc7444aadcdc1d87606 /src/resolve/resolved-dns-scope.c | |
parent | 5f402ae84bbc08fe8de5682e371b3f66c387da52 (diff) |
resolved: use a #define for LLMNR port
De-duplicate some magic numbers.
Diffstat (limited to 'src/resolve/resolved-dns-scope.c')
-rw-r--r-- | src/resolve/resolved-dns-scope.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c index cc7e268529..596181fa4c 100644 --- a/src/resolve/resolved-dns-scope.c +++ b/src/resolve/resolved-dns-scope.c @@ -181,7 +181,7 @@ int dns_scope_emit(DnsScope *s, DnsPacket *p) { return -EBUSY; family = s->family; - port = 5355; + port = LLMNR_PORT; if (family == AF_INET) { addr.in = LLMNR_MULTICAST_IPV4_ADDRESS; |