/*
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
#include "subnet.h"
#include "tincctl.h"
#include "info.h"
+#include "utils.h"
#include "xalloc.h"
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) {