summaryrefslogtreecommitdiff
path: root/net/pimdd/files/patch-pim.c
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2006-09-29 11:14:06 +0000
committerBruce M Simpson <bms@FreeBSD.org>2006-09-29 11:14:06 +0000
commitc7588fa72cbf79893f168a8a33189c8e45c43759 (patch)
tree35f2ad681afaba872c294ae997151a4b2932a138 /net/pimdd/files/patch-pim.c
parentAnother fix.. OOOTAG must also be specified. (diff)
Add new port for UOregon's PIM dense-mode multicast routing daemon for IPv4.
Notes
Notes: svn path=/head/; revision=174102
Diffstat (limited to 'net/pimdd/files/patch-pim.c')
-rw-r--r--net/pimdd/files/patch-pim.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/net/pimdd/files/patch-pim.c b/net/pimdd/files/patch-pim.c
new file mode 100644
index 000000000000..47fd15669be7
--- /dev/null
+++ b/net/pimdd/files/patch-pim.c
@@ -0,0 +1,18 @@
+--- pim.c.orig Fri Sep 29 11:54:13 2006
++++ pim.c Fri Sep 29 11:54:28 2006
+@@ -257,7 +257,6 @@
+ pim = (pim_header_t *)(buf + sizeof(struct ip));
+ pim->pim_type = type;
+ pim->pim_vers = PIM_PROTOCOL_VERSION;
+- pim->reserved = 0;
+ pim->pim_cksum = 0;
+ /* TODO: XXX: if start using this code for PIM_REGISTERS, exclude the
+ * encapsulated packet from the checsum.
+@@ -349,7 +348,6 @@
+ pim = (pim_header_t *)(buf + sizeof(struct ip));
+ pim->pim_vers = PIM_PROTOCOL_VERSION;
+ pim->pim_type = type;
+- pim->reserved = 0;
+ pim->pim_cksum = 0;
+
+ bzero((void *)&sdst, sizeof(sdst));