net/stund: fix build on current

PR:		225455
Submitted by:	Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
Approved by:	sobomax (maintainer timeout)
This commit is contained in:
Kurt Jaeger 2018-07-10 18:06:16 +00:00
parent f77bf40c09
commit c0d5a5d4f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474396

View file

@ -0,0 +1,11 @@
--- udp.cxx.orig 2018-07-10 16:05:16 UTC
+++ udp.cxx
@@ -64,7 +64,7 @@ openPort( unsigned short port, unsigned
}
}
- if ( bind( fd,(struct sockaddr*)&addr, sizeof(addr)) != 0 )
+ if ( ::bind( fd,(struct sockaddr*)&addr, sizeof(addr)) != 0 )
{
int e = getErrno();