diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-26 04:00:47 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-03-26 04:06:55 +0100 |
commit | 79c6fd3f14b51d37c45b78d2a4f511927b9eac94 (patch) | |
tree | ee1b8fde2618541c09bc99227c78532e7c54b0d1 /src/tlv_types.h | |
parent | 3dbdeacfdb3adbcaecb63a9805c5c45ec93cb8c7 (diff) | |
download | babel-79c6fd3f14b51d37c45b78d2a4f511927b9eac94.tar babel-79c6fd3f14b51d37c45b78d2a4f511927b9eac94.zip |
Fix handling of announces without payload
Diffstat (limited to 'src/tlv_types.h')
-rw-r--r-- | src/tlv_types.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tlv_types.h b/src/tlv_types.h index cfb8c53..26ddefc 100644 --- a/src/tlv_types.h +++ b/src/tlv_types.h @@ -66,7 +66,7 @@ typedef struct __attribute__((packed)) gp_babel_tlv_update { uint16_t metric; uint16_t type; uint16_t key; - uint8_t data[]; + uint8_t payload[]; } gp_babel_tlv_update_t; typedef struct __attribute__((packed)) gp_babel_tlv_announce_req { |