提交 4b619e5c 编写于 作者: A Andrew Kelley 提交者: Rich Felker

fix incorrect protocol name and number for egp

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".
上级 2d49c224
......@@ -12,7 +12,7 @@ static const unsigned char protos[] = {
"\004ipencap\0"
"\005st\0"
"\006tcp\0"
"\008egp\0"
"\010egp\0"
"\014pup\0"
"\021udp\0"
"\024hmp\0"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册