Almost exactly 10 years ago, we updated the name length of PF tables to
32.  Bump the length in bgpd, so we can use longer names.



Index: usr.sbin/bgpd/bgpd.h
===================================================================
RCS file: /cvs/openbsd/src/usr.sbin/bgpd/bgpd.h,v
retrieving revision 1.274
diff -u -p -r1.274 bgpd.h
--- usr.sbin/bgpd/bgpd.h        13 Nov 2012 09:47:20 -0000      1.274
+++ usr.sbin/bgpd/bgpd.h        8 Jan 2013 10:13:21 -0000
@@ -38,7 +38,7 @@
 #define        CONFFILE                        "/etc/bgpd.conf"
 #define        BGPD_USER                       "_bgpd"
 #define        PEER_DESCR_LEN                  32
-#define        PFTABLE_LEN                     16
+#define        PFTABLE_LEN                     32
 #define        TCP_MD5_KEY_LEN                 80
 #define        IPSEC_ENC_KEY_LEN               32
 #define        IPSEC_AUTH_KEY_LEN              20


OK?


-- 
Anyone who hates Dogs and Kids Can't be All Bad.
                -- W. C. Fields

Reply via email to