summaryrefslogtreecommitdiffstats
path: root/src/tlv_types.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-03-26 04:00:47 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-03-26 04:06:55 +0100
commit79c6fd3f14b51d37c45b78d2a4f511927b9eac94 (patch)
treeee1b8fde2618541c09bc99227c78532e7c54b0d1 /src/tlv_types.h
parent3dbdeacfdb3adbcaecb63a9805c5c45ec93cb8c7 (diff)
downloadbabel-79c6fd3f14b51d37c45b78d2a4f511927b9eac94.tar
babel-79c6fd3f14b51d37c45b78d2a4f511927b9eac94.zip
Fix handling of announces without payload
Diffstat (limited to 'src/tlv_types.h')
-rw-r--r--src/tlv_types.h2
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 {