From 534ae7240bc5cad6edb9fd160cdb0ff0eb4778de Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Sun, 26 Jan 2014 09:23:00 +0100 Subject: Add support for link-local bind addresses --- src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config.c') diff --git a/src/config.c b/src/config.c index 66b69c7..1793b7b 100644 --- a/src/config.c +++ b/src/config.c @@ -112,7 +112,7 @@ void fastd_config_mac(fastd_context_t *ctx, fastd_config_t *conf, const char *na void fastd_config_bind_address(fastd_context_t *ctx UNUSED, fastd_config_t *conf, const fastd_peer_address_t *address, const char *bindtodev, bool default_v4, bool default_v6) { #ifndef USE_BINDTODEVICE - if (bindtodev) + if (bindtodev && !fastd_peer_address_is_v6_ll(address)) exit_error(ctx, "config error: device bind configuration not supported on this system"); #endif -- cgit v1.2.3