summaryrefslogtreecommitdiffstats
path: root/ripngd
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-01-26 17:41:52 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-01-26 17:41:52 +0100
commita0cee366e8837915e229fc2f14f72e6b4bccf777 (patch)
treed7c0645872410b73c88c1fa1fc70a878d1e2c3c0 /ripngd
parentbgpd: Fix buffer overflow error in bgp_dump_routes_func (diff)
downloadfrr-a0cee366e8837915e229fc2f14f72e6b4bccf777.tar.xz
frr-a0cee366e8837915e229fc2f14f72e6b4bccf777.zip
bgpd, ripngd, zebra: Remove duplicate PSIZE define
The PSIZE macro is defined the same in multiple places. Remove the duplicates. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'ripngd')
-rw-r--r--ripngd/ripngd.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/ripngd/ripngd.h b/ripngd/ripngd.h
index 9a82d8228..fb0318d5c 100644
--- a/ripngd/ripngd.h
+++ b/ripngd/ripngd.h
@@ -334,9 +334,6 @@ do { \
} \
} while (0)
-/* Count prefix size from mask length */
-#define PSIZE(a) (((a) + 7) / (8))
-
/* Extern variables. */
extern struct ripng *ripng;