diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-01-26 09:23:00 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-01-26 09:23:00 +0100 |
commit | 534ae7240bc5cad6edb9fd160cdb0ff0eb4778de (patch) | |
tree | 9d77fdd80b3fb5da130de1c55b5f96406814447a /src/config.c | |
parent | b78d55b69ed9d9c88d12f0159e78973ad0d70b49 (diff) | |
download | fastd-534ae7240bc5cad6edb9fd160cdb0ff0eb4778de.tar fastd-534ae7240bc5cad6edb9fd160cdb0ff0eb4778de.zip |
Add support for link-local bind addresses
Diffstat (limited to 'src/config.c')
-rw-r--r-- | src/config.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 |