summaryrefslogtreecommitdiffstats
path: root/isisd/iso_checksum.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-05-22 17:52:30 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-05-26 17:22:23 +0200
commitc5f119c06dbf56887709912cf247cc7679ffc411 (patch)
treeacf0cf6d58a18de2a2f1c34fe7aabdd3e8b320c4 /isisd/iso_checksum.h
parentMerge pull request #610 from donaldsharp/rpprefixlen (diff)
downloadfrr-c5f119c06dbf56887709912cf247cc7679ffc411.tar.xz
frr-c5f119c06dbf56887709912cf247cc7679ffc411.zip
*: do not take address of packed member
May result in alignment errors on certain platforms Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'isisd/iso_checksum.h')
-rw-r--r--isisd/iso_checksum.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/iso_checksum.h b/isisd/iso_checksum.h
index cca6ee24a..50f6a7d56 100644
--- a/isisd/iso_checksum.h
+++ b/isisd/iso_checksum.h
@@ -23,6 +23,6 @@
#ifndef _ZEBRA_ISO_CSUM_H
#define _ZEBRA_ISO_CSUM_H
-int iso_csum_verify (u_char * buffer, int len, uint16_t * csum);
+int iso_csum_verify (u_char * buffer, int len, uint16_t csum, int offset);
#endif /* _ZEBRA_ISO_CSUM_H */