From afdf78eeafae9d257ee2fd182fd1a14cbd29fedb Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Tue, 17 Apr 2012 17:33:29 +0200 Subject: Revert using hostname as peer printf string as we'll always have a name when a hostname is given --- src/printf.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src') diff --git a/src/printf.c b/src/printf.c index c32ebf9..7c922c5 100644 --- a/src/printf.c +++ b/src/printf.c @@ -43,9 +43,6 @@ static void print_peer_str(const fastd_context *ctx, const fastd_peer *peer) { if (peer->config && peer->config->name) { fprintf(stderr, "%c%s%c", pl, peer->config->name, pr); } - else if (peer->config && peer->config->hostname) { - fprintf(stderr, "%c\"%s\"%c", pl, peer->config->hostname, pr); - } else { switch (peer->address.sa.sa_family) { case AF_UNSPEC: -- cgit v1.2.3