diff options
author | Thomas Gschwantner <tharre3@gmail.com> | 2019-09-14 19:43:33 +0200 |
---|---|---|
committer | Thomas Gschwantner <tharre3@gmail.com> | 2019-09-28 18:52:18 +0200 |
commit | 91b680a7db2fd26f07d2a2905e3dba050c271680 (patch) | |
tree | e6941b627b74c35ff8a6bb437832b6dcbe078c43 /common.c | |
parent | Extract all RTNETLINK code into ipm.{c,h} (diff) | |
download | wg-dynamic-91b680a7db2fd26f07d2a2905e3dba050c271680.tar.xz wg-dynamic-91b680a7db2fd26f07d2a2905e3dba050c271680.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 */ |