]> tinc-vpn.org Git - tinc/blobdiff - src/info.c
Invalidate UDP information on address changes.
[tinc] / src / info.c
index 8e91a227f300a8e3c1caac429a7c71154a8879cd..c9b0094699b8d5add60e72e8a9d3d63caacef564 100644 (file)
@@ -1,6 +1,6 @@
 /*
     info.c -- Show information about a node, subnet or address
-    Copyright (C) 2012 Guus Sliepen <guus@tinc-vpn.org>
+    Copyright (C) 2012-2013 Guus Sliepen <guus@tinc-vpn.org>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -24,6 +24,7 @@
 #include "subnet.h"
 #include "tincctl.h"
 #include "info.h"
+#include "utils.h"
 #include "xalloc.h"
 
 void logger(int level, int priority, const char *format, ...) {
@@ -31,6 +32,7 @@ void logger(int level, int priority, const char *format, ...) {
        va_start(ap, format);
        vfprintf(stderr, format, ap);
        va_end(ap);
+       fputc('\n', stderr);
 }
 
 char *strip_weight(char *netstr) {