diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 05:02:36 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-03-23 05:02:36 +0100 |
commit | 2c6147d4d47e68301e13545fc0a95bd3a16f0e30 (patch) | |
tree | 6f0d98631ac7c8034b59a60eb92deca53a4547a7 /src/handshake.c | |
parent | 3371cf38ac3fad7c2d446400a772b25992ee8c82 (diff) | |
download | fastd-2c6147d4d47e68301e13545fc0a95bd3a16f0e30.tar fastd-2c6147d4d47e68301e13545fc0a95bd3a16f0e30.zip |
Add multitap mode
This new mode of operation uses one TAP interface per peer.
Diffstat (limited to 'src/handshake.c')
-rw-r--r-- | src/handshake.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handshake.c b/src/handshake.c index 4aa198d..726c117 100644 --- a/src/handshake.c +++ b/src/handshake.c @@ -108,6 +108,7 @@ static inline uint32_t as_uint(const fastd_handshake_record_t *record) { static inline uint8_t get_mode_id(void) { switch (conf.mode) { case MODE_TAP: + case MODE_MULTITAP: return 0; case MODE_TUN: |