summaryrefslogtreecommitdiff
path: root/src/network/proto.c
AgeCommit message (Collapse)AuthorFilesLines
2016-05-04fix incorrect protocol name and number for egpAndrew Kelley1-1/+1
previously if you called getprotobyname("egp") you would get NULL because \008 is invalid octal and so the protocol id was interpreted as 0 and name as "8egp".
2016-01-06add missing protocols to protoent lookup functionsTimo Teräs1-1/+16
2015-02-10make protocol table zero byte separated and add ipv6 protocolsTimo Teräs1-22/+26
2014-06-24add routing protocols to getprotoent-family functionsTimo Teräs1-0/+2
iptables and quagga need them to work.
2014-06-02add ipsec and tunneling protocols to getprotoent-family functionsTimo Teräs1-0/+4
iptables and ipsec-tools among others require these to function properly.
2014-02-13add ipv6 and icmpv6 to getprotoent-family functionsRich Felker1-1/+3
based on patch by orc.
2014-02-13fix typo in table for getprotoent that caused out-of-bound readsRich Felker1-1/+1
this was unlikely to lead to any crash or dangerous behavior, but caused adjacent string constants to be treated as part of the protocols table, possibly returning nonsensical results for unknown protocol names/numbers or when getprotoent was called in a loop to enumerate all protocols.
2013-12-12include cleanups: remove unused headers and add feature test macrosSzabolcs Nagy1-1/+0
2011-02-12initial check-in, version 0.5.0v0.5.0Rich Felker1-0/+58