summaryrefslogtreecommitdiffstats
path: root/src/fastd.c
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-10-29 22:45:08 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-10-29 22:45:08 +0100
commit2c6a4b5c117fc2a2a5ba730ffc86e75d71140200 (patch)
tree50e7df2faa9a137accb26cd580027eb3bbc75a8f /src/fastd.c
parent078b835209bd22b5cf3f497f2b06f3fad0a078ca (diff)
downloadfastd-2c6a4b5c117fc2a2a5ba730ffc86e75d71140200.tar
fastd-2c6a4b5c117fc2a2a5ba730ffc86e75d71140200.zip
Fix bind error messages
Diffstat (limited to 'src/fastd.c')
-rw-r--r--src/fastd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fastd.c b/src/fastd.c
index fc6f016..88e7401 100644
--- a/src/fastd.c
+++ b/src/fastd.c
@@ -263,9 +263,9 @@ static void init_sockets(fastd_context *ctx) {
}
if (addr->bindtodev)
- pr_warn(ctx, "unable to bind to %I on `%s'", addr->addr, addr->bindtodev);
+ pr_warn(ctx, "unable to bind to %I on `%s'", &addr->addr, addr->bindtodev);
else
- pr_warn(ctx, "unable to bind to %I", addr->addr);
+ pr_warn(ctx, "unable to bind to %I", &addr->addr);
if (addr == default_v4 || addr == default_v6)
exit_error(ctx, "unable to bind to default address");