diff options
author | Thomas Gschwantner <tharre3@gmail.com> | 2019-09-14 19:43:33 +0200 |
---|---|---|
committer | Thomas Gschwantner <tharre3@gmail.com> | 2019-12-11 06:22:17 +0100 |
commit | d69ddbec4d9e5ebed0e7de4a9c7fa04ffcddefce (patch) | |
tree | d0a1e1852b78b2fe03698c7fb6d1a38c06f67a7e /common.c | |
parent | Extract all RTNETLINK code into ipm.{c,h} (diff) | |
download | wg-dynamic-d69ddbec4d9e5ebed0e7de4a9c7fa04ffcddefce.tar.xz wg-dynamic-d69ddbec4d9e5ebed0e7de4a9c7fa04ffcddefce.zip |
Fixup client, including a lot of refactoring
Diffstat (limited to 'common.c')
-rw-r--r-- | common.c | 8 |
1 files changed, 0 insertions, 8 deletions
@@ -371,14 +371,6 @@ void print_to_buf(char *buf, size_t bufsize, size_t *offset, char *fmt, ...) *offset += n; } -uint32_t current_time() -{ - struct timespec tp; - if (clock_gettime(CLOCK_REALTIME, &tp)) - fatal("clock_gettime(CLOCK_REALTIME)"); - return tp.tv_sec; -} - bool is_link_local(unsigned char *addr) { /* TODO: check if the remaining 54 bits are 0 */ |