From: Ted Lemon Date: Wed, 21 Feb 1996 12:12:26 +0000 (+0000) Subject: Use broadcast address X-Git-Tag: SS960225~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a44dea045a7529ce4432a538a9bfa60aafeb431;p=thirdparty%2Fdhcp.git Use broadcast address --- diff --git a/client/dhclient.c b/client/dhclient.c index c9d9e64db..393f99d31 100644 --- a/client/dhclient.c +++ b/client/dhclient.c @@ -242,7 +242,7 @@ int main (argc, argv, envp) raw.op = BOOTREQUEST; to.sin_port = htons (2001); - inet_aton ("206.119.204.48", &to.sin_addr); + to.sin_addr.s_addr = INADDR_BROADCAST; to.sin_family = AF_INET; to.sin_len = sizeof to; memset (to.sin_zero, 0, sizeof to.sin_zero); diff --git a/dhclient.c b/dhclient.c index c9d9e64db..393f99d31 100644 --- a/dhclient.c +++ b/dhclient.c @@ -242,7 +242,7 @@ int main (argc, argv, envp) raw.op = BOOTREQUEST; to.sin_port = htons (2001); - inet_aton ("206.119.204.48", &to.sin_addr); + to.sin_addr.s_addr = INADDR_BROADCAST; to.sin_family = AF_INET; to.sin_len = sizeof to; memset (to.sin_zero, 0, sizeof to.sin_zero);