commit | 4f31185121dcafaccc49a39711d91d98c9fb6588 | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Wed Jun 16 18:31:32 2004 +0000 |
committer | H. Peter Anvin <hpa@zytor.com> | Wed Jun 16 18:31:32 2004 +0000 |
tree | d0ae67a843f3908a4c94921b52e5665ab69e12f6 | |
parent | c7f979e760d873998ca9f51777af98f8e29f5f19 [diff] |
sin_port -> sin_family
diff --git a/klibc/inet/bindresvport.c b/klibc/inet/bindresvport.c index c30054e..3b3d10f 100644 --- a/klibc/inet/bindresvport.c +++ b/klibc/inet/bindresvport.c
@@ -23,7 +23,7 @@ if (sin == NULL) { sin = &me; memset(sin, 0, sizeof(me)); - sin->sin_port = AF_INET; + sin->sin_family = AF_INET; } else if (sin->sin_family != AF_INET) { errno = EPFNOSUPPORT;