summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/pftable.c
AgeCommit message (Expand)Author
2019-08-08Use O_CLOEXEC or SOCK_CLOEXEC on every open or socket call. Even thoughClaudio Jeker
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2018-11-25malloc(n) + bzero is better done as calloc(1,n)Theo de Raadt
2018-09-20whitespace cleanup, ok claudio@Sebastian Benoit
2017-01-24sync log.c from relayd et al to bgpd.Sebastian Benoit
2015-12-23Remove NULL-checks before free(). I think I've almost scrubbed themmcc
2015-01-21Include <netinet/in.h> before <net/pfvar.h>. In a future change whenTheo de Raadt
2014-10-08Use reallocarray() throughout to spot multiplicative int overflow.Theo de Raadt
2009-12-01Use an artificial address family id in struct bgpd_addr and almost everywhereClaudio Jeker
2005-07-01Make the pftable filter set use the name2id "cache" like the route labels.Claudio Jeker
2004-11-02don't leak mem on strlcpy failure, Patrick LatifiHenning Brauer
2004-09-14gccisms are bad, including __func__Henning Brauer
2004-05-08KNFHenning Brauer
2004-05-07add a filter option to dump prefixes learned in UPDATEs into a PF table,Damien Miller