aboutsummaryrefslogtreecommitdiff
path: root/networking/udhcp/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/socket.c')
-rw-r--r--networking/udhcp/socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c
index 2cbd4aa88..2d272510d 100644
--- a/networking/udhcp/socket.c
+++ b/networking/udhcp/socket.c
@@ -37,7 +37,7 @@
37#include "common.h" 37#include "common.h"
38 38
39 39
40int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp) 40int FAST_FUNC udhcp_read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t *arp)
41{ 41{
42 int fd; 42 int fd;
43 struct ifreq ifr; 43 struct ifreq ifr;
@@ -85,7 +85,7 @@ int read_interface(const char *interface, int *ifindex, uint32_t *addr, uint8_t
85 85
86/* 1. None of the callers expects it to ever fail */ 86/* 1. None of the callers expects it to ever fail */
87/* 2. ip was always INADDR_ANY */ 87/* 2. ip was always INADDR_ANY */
88int listen_socket(/*uint32_t ip,*/ int port, const char *inf) 88int FAST_FUNC udhcp_listen_socket(/*uint32_t ip,*/ int port, const char *inf)
89{ 89{
90 int fd; 90 int fd;
91 struct ifreq interface; 91 struct ifreq interface;