diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-22 03:14:16 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2014-05-22 03:14:16 +0200 |
commit | 2693cfc6e5f1cf1949a8d4fe25fa7c28c7d1d9ae (patch) | |
tree | 8ad9c90938583419511d1879f1ca190b6d996ce2 /src/fastd.h | |
parent | 1fe3425c97a81f436b7c187377fc44eac200eb66 (diff) | |
download | fastd-2693cfc6e5f1cf1949a8d4fe25fa7c28c7d1d9ae.tar fastd-2693cfc6e5f1cf1949a8d4fe25fa7c28c7d1d9ae.zip |
Remove PACKET_TYPE_LEN define
Diffstat (limited to 'src/fastd.h')
-rw-r--r-- | src/fastd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fastd.h b/src/fastd.h index 7e04132..1cf9c12 100644 --- a/src/fastd.h +++ b/src/fastd.h @@ -376,7 +376,7 @@ static inline fastd_eth_addr_t fastd_get_dest_address(const fastd_buffer_t buffe } static inline size_t fastd_max_outer_packet(void) { - return PACKET_TYPE_LEN + fastd_max_inner_packet() + conf.max_overhead; + return 1 + fastd_max_inner_packet() + conf.max_overhead; } static inline bool fastd_peer_address_is_v6_ll(const fastd_peer_address_t *addr) { |