mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
Add rc.d script and option to use PID file. Switch to DISTVERSION. Add license information. PR: 269722 Approved by: maintainer timeout (3+ weeks)
12 lines
317 B
C
12 lines
317 B
C
--- src/ip-lib.c.orig 2025-02-19 19:25:06 UTC
|
|
+++ src/ip-lib.c
|
|
@@ -52,7 +52,7 @@ int openip(char *host, unsigned int port, char *srcip,
|
|
{
|
|
int socketd;
|
|
struct sockaddr_in server;
|
|
- struct hostent *hostp, *gethostbyname();
|
|
+ struct hostent *hostp;
|
|
|
|
socketd = socket(AF_INET, SOCK_STREAM, 0);
|
|
if (socketd < 0)
|