mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
* haddr -> hport.
svn path=/nixpkgs/trunk/; revision=16804
This commit is contained in:
parent
4ad3ea4107
commit
c7eb810826
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ diff -rc qemu-kvm-0.11.0-rc1-orig/slirp/socket.c qemu-kvm-0.11.0-rc1/slirp/socke
|
|||
setsockopt(s,SOL_SOCKET,SO_OOBINLINE,(char *)&opt,sizeof(int));
|
||||
|
||||
! if (unix_socket) {
|
||||
! so->so_fport = haddr;
|
||||
! so->so_fport = hport;
|
||||
! so->so_faddr = slirp->vhost_addr;
|
||||
! } else {
|
||||
! getsockname(s,(struct sockaddr *)&addr,&addrlen);
|
||||
|
|
Loading…
Reference in a new issue