diff options
author | Christian Franke <chris@opensourcerouting.org> | 2017-07-05 18:37:36 +0200 |
---|---|---|
committer | Christian Franke <chris@opensourcerouting.org> | 2017-08-03 11:34:04 +0200 |
commit | af8ac8f98fbe565b182020895553d862ad743012 (patch) | |
tree | 1e934f37d3015ee84edb4b0ef4e03ddf94e35897 /isisd/iso_checksum.c | |
parent | isisd: send/receive *SNPs with new parser (diff) | |
download | frr-af8ac8f98fbe565b182020895553d862ad743012.tar.xz frr-af8ac8f98fbe565b182020895553d862ad743012.zip |
isisd: send/receive LSPs with new parser
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/iso_checksum.c')
-rw-r--r-- | isisd/iso_checksum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isisd/iso_checksum.c b/isisd/iso_checksum.c index e0a4ba370..25a870991 100644 --- a/isisd/iso_checksum.c +++ b/isisd/iso_checksum.c @@ -67,7 +67,7 @@ int iso_csum_verify(u_char *buffer, int len, uint16_t csum, int offset) return 1; checksum = fletcher_checksum(buffer, len, offset); - if (checksum == csum) + if (checksum == htons(csum)) return 0; return 1; } |