diff options
author | Linus Nordberg <linus@nordberg.se> | 2019-04-08 12:25:05 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordberg.se> | 2019-04-08 12:25:05 +0200 |
commit | 542276ee6f5ca6c15ef4aba1d4fc959131a63a9f (patch) | |
tree | b5296f573591735fc314921bae5fc83524f6a208 | |
parent | One uint32_t is enough (diff) | |
download | wg-dynamic-542276ee6f5ca6c15ef4aba1d4fc959131a63a9f.tar.xz wg-dynamic-542276ee6f5ca6c15ef4aba1d4fc959131a63a9f.zip |
Correct a comment
This comment became incorrect with the change to
IN6_IS_ADDR_LINKLOCAL(). Changing back to an explicit check might be
the better choice.
-rw-r--r-- | common.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -382,7 +382,7 @@ void close_connection(int *fd, struct wg_dynamic_request *req) bool is_link_local(unsigned char *addr) { - /* TODO: check if the remaining 48 bits are 0 */ + /* TODO: check if the remaining 54 bits are 0 */ return IN6_IS_ADDR_LINKLOCAL(addr); } |