summaryrefslogtreecommitdiff
path: root/net-mgmt/dhcp_probe/files/patch-src_get__myeaddr.c
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/dhcp_probe/files/patch-src_get__myeaddr.c')
-rw-r--r--net-mgmt/dhcp_probe/files/patch-src_get__myeaddr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net-mgmt/dhcp_probe/files/patch-src_get__myeaddr.c b/net-mgmt/dhcp_probe/files/patch-src_get__myeaddr.c
index 7f502502ed32..0da91bec0e70 100644
--- a/net-mgmt/dhcp_probe/files/patch-src_get__myeaddr.c
+++ b/net-mgmt/dhcp_probe/files/patch-src_get__myeaddr.c
@@ -1,5 +1,5 @@
---- src/get_myeaddr.c.orig 2015-01-03 11:44:45.000000000 -0500
-+++ src/get_myeaddr.c 2015-01-03 11:45:40.000000000 -0500
+--- src/get_myeaddr.c.orig 2021-01-18 19:16:15 UTC
++++ src/get_myeaddr.c
@@ -55,7 +55,7 @@
@@ -9,7 +9,7 @@
{
/* If SIOCGIFHWADDR is defined,
We use the SIOCGIFHWADDR ioctl to do our work as follows:
-@@ -92,7 +92,7 @@
+@@ -92,7 +92,7 @@ get_myeaddr(int sockfd, struct in_addr *my_ipaddr, str
return(-1);
}
@@ -18,7 +18,7 @@
#elif defined SIOCGARP /* not SIOCGIFHWADDR */
-@@ -154,7 +154,7 @@
+@@ -154,7 +154,7 @@ get_myeaddr(int sockfd, struct in_addr *my_ipaddr, str
return(-1);
}
@@ -27,7 +27,7 @@
#elif defined HAVE_GETIFADDRS /* not SIOCGARP */
-@@ -180,7 +180,7 @@
+@@ -180,7 +180,7 @@ get_myeaddr(int sockfd, struct in_addr *my_ipaddr, str
found = 1;
/* copy the result to my_eaddr */
sdl = (struct sockaddr_dl *) ifp->ifa_addr;