batman-adv: rename BATMAN_OGM_LEN to BATMAN_OGM_HLEN
Using BATMAN_OGM_LEN leaves one with the impression that this is the full packet size which is not the case. Therefore the variable is renamed. Signed-off-by: Marek Lindner <lindner_marek@yahoo.de> Signed-off-by: Antonio Quartulli <ordex@autistici.org>
This commit is contained in:

committed by
Antonio Quartulli

parent
cd8b78e7e9
commit
76e3d7fc1a
@@ -126,7 +126,7 @@ struct batman_ogm_packet {
|
||||
uint16_t tt_crc;
|
||||
} __packed;
|
||||
|
||||
#define BATMAN_OGM_LEN sizeof(struct batman_ogm_packet)
|
||||
#define BATMAN_OGM_HLEN sizeof(struct batman_ogm_packet)
|
||||
|
||||
struct icmp_packet {
|
||||
struct batman_header header;
|
||||
|
Reference in New Issue
Block a user