diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-04-16 07:39:27 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-04-16 07:39:27 +0200 |
commit | dc11e3bc08b1887204c42ac9737a4f2eefb32bde (patch) | |
tree | 4426221c6e80aa814fa54f0062fa921e785e66b3 /src/fastd.c | |
parent | 872e0dfa86417e89022f84ac78b2d90236cb97d4 (diff) | |
download | fastd-dc11e3bc08b1887204c42ac9737a4f2eefb32bde.tar fastd-dc11e3bc08b1887204c42ac9737a4f2eefb32bde.zip |
Rename peer-to-peer to forward; remove now useless peer command line optionv0.4-rc1
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c index ee7f03a..c4a9162 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -255,7 +255,7 @@ void fastd_handle_receive(fastd_context *ctx, fastd_peer *peer, fastd_buffer buf if (write(ctx->tunfd, buffer.data, buffer.len) < 0) pr_warn_errno(ctx, "write"); - if (ctx->conf->mode == MODE_TAP && ctx->conf->peer_to_peer) { + if (ctx->conf->mode == MODE_TAP && ctx->conf->forward) { const fastd_eth_addr *dest_addr = fastd_get_dest_address(ctx, buffer); if (fastd_eth_addr_is_unicast(dest_addr)) { |