summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-04-17 17:33:29 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-04-17 17:33:29 +0200
commitafdf78eeafae9d257ee2fd182fd1a14cbd29fedb (patch)
tree48a8995441ca53723c8c88ac54258eb82d386e17
parentea4f56a537321c0f8352a7e97d62763564d78478 (diff)
downloadfastd-afdf78eeafae9d257ee2fd182fd1a14cbd29fedb.tar
fastd-afdf78eeafae9d257ee2fd182fd1a14cbd29fedb.zip
Revert using hostname as peer printf string as we'll always have a name when a hostname is given
-rw-r--r--src/printf.c3
1 files changed, 0 insertions, 3 deletions
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: