mirror of
https://git.musl-libc.org/git/musl
synced 2025-03-20 01:22:54 +03:00
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".
This commit is contained in:
parent
2d49c2243f
commit
4b619e5c61
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user