summaryrefslogtreecommitdiff
path: root/networking/udhcp/frontend.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/frontend.c')
-rw-r--r--networking/udhcp/frontend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/udhcp/frontend.c b/networking/udhcp/frontend.c
index de57795..fa77ab9 100644
--- a/networking/udhcp/frontend.c
+++ b/networking/udhcp/frontend.c
@@ -7,10 +7,10 @@ int main(int argc, char *argv[])
{
int ret = 0;
char *base = strrchr(argv[0], '/');
-
+
if (strstr(base ? (base + 1) : argv[0], "dhcpd"))
ret = udhcpd_main(argc, argv);
else ret = udhcpc_main(argc, argv);
-
+
return ret;
}