summaryrefslogtreecommitdiffstats
path: root/pimd/pim_cmd.c
diff options
context:
space:
mode:
authorEverton Marques <everton.marques@gmail.com>2014-09-18 11:10:58 -0300
committerDavid Lamparter <equinox@opensourcerouting.org>2015-02-04 06:07:59 +0100
commit93911267a3105931fbaee62dabf7cc444466a6c2 (patch)
treea4dc4e52f731c36d5f73e7584f7fdde1a4545aa6 /pimd/pim_cmd.c
parent629e30bb436ce2231c47a38e1a5c5ac1c72beefa (diff)
downloadquagga-93911267a3105931fbaee62dabf7cc444466a6c2.tar.bz2
quagga-93911267a3105931fbaee62dabf7cc444466a6c2.tar.xz
pimd: Remove unused pim checksum in favour of quagga's version.
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r--pimd/pim_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index 8b519778..eaf209ce 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -3590,7 +3590,7 @@ DEFUN (test_igmp_receive_report,
igmp_msg_len = IGMP_V3_MSG_MIN_SIZE + (num_sources << 4); /* v3 report for one single group record */
/* compute checksum */
- *(uint16_t *)(igmp_msg + IGMP_V3_CHECKSUM_OFFSET) = pim_inet_checksum(igmp_msg, igmp_msg_len);
+ *(uint16_t *)(igmp_msg + IGMP_V3_CHECKSUM_OFFSET) = in_cksum(igmp_msg, igmp_msg_len);
/* "receive" message */