summaryrefslogtreecommitdiffstats
path: root/pimd/pimd.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-02-10 21:48:42 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-02-24 16:03:40 +0100
commitb50fcf3aa8f1fa9db49273de6723c56953868eca (patch)
tree35b2e2189d93245b1b07adc8acec0c630de820f1 /pimd/pimd.h
parentpimd: Remove unnecessary check in packet process path (diff)
downloadfrr-b50fcf3aa8f1fa9db49273de6723c56953868eca.tar.xz
frr-b50fcf3aa8f1fa9db49273de6723c56953868eca.zip
pimd: Remove unnecessary ip header length checks on receipt.
The kernel will not hand us a malformed packet. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pimd.h')
-rw-r--r--pimd/pimd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pimd.h b/pimd/pimd.h
index 2e75eea36..0da8452ab 100644
--- a/pimd/pimd.h
+++ b/pimd/pimd.h
@@ -31,8 +31,6 @@
#define PIMD_DEFAULT_CONFIG "pimd.conf"
#define PIMD_VTY_PORT 2611
-#define PIM_IP_HEADER_MIN_LEN (20)
-#define PIM_IP_HEADER_MAX_LEN (60)
#define PIM_IP_PROTO_IGMP (2)
#define PIM_IP_PROTO_PIM (103)
#define PIM_IGMP_MIN_LEN (8)