diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-29 14:24:02 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-29 20:57:58 +0200 |
commit | 623a4c97b9175f95c4b1c6fc34e36c56f1e4ddbf (patch) | |
tree | 2590cdcc3e9a36ea63d75407c178253ff2669261 /src/shared/in-addr-util.c | |
parent | 359017c1aec9596e9d3c4c19bd62d34a6f3366b8 (diff) |
resolve: add llmnr responder side for UDP and TCP
Name defending is still missing.
Diffstat (limited to 'src/shared/in-addr-util.c')
-rw-r--r-- | src/shared/in-addr-util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/shared/in-addr-util.c b/src/shared/in-addr-util.c index ff008bd26f..e9a99177fc 100644 --- a/src/shared/in-addr-util.c +++ b/src/shared/in-addr-util.c @@ -23,7 +23,7 @@ #include "in-addr-util.h" -int in_addr_null(int family, union in_addr_union *u) { +int in_addr_null(int family, const union in_addr_union *u) { assert(u); if (family == AF_INET) @@ -40,7 +40,7 @@ int in_addr_null(int family, union in_addr_union *u) { } -int in_addr_equal(int family, union in_addr_union *a, union in_addr_union *b) { +int in_addr_equal(int family, const union in_addr_union *a, const union in_addr_union *b) { assert(a); assert(b); |