Displaying 2 results from an estimated 2 matches for "f00041b".
Did you mean:
a00041
2010 Aug 25
0
[patch] ipconfig fixes + run-init nit
...trivial patch addresses this issue.
Signed-off-by: Michael Prokop <mika at debian.org>
Tested-by: Reinhard Tartler <siretart at tauware.de>
Signed-off-by: maximilian attems <max at stro.at>
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index f00041b..b014128 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -115,7 +115,7 @@ static void dump_device_config(struct netdev *dev)
fprintf(f, "IPV4DNS1=%s\n",
my_inet_ntoa(dev->ip_nameserver[1]));
fprintf(f, "HOSTNAME=%s\n", dev->hostname);
-...
2010 Aug 24
0
[PATCH]: Exiting -1 if dhcp client failed
...ife-sit.info/?p=zodiac-pkg%2Fklibc.git;a=commitdiff_plain;h=6c4c52e6f64412fce844d0198643ccecc641f1b5
Exiting -1 if ipconfig timeout
When timeouting while getting up a dhclient answer, let's returning -1
instead of 0
---
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index f00041b..888fdeb 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
-334,6 +334,7 @@ static int loop(void)
int nr = 0;
struct timeval now, prev;
time_t start;
+ int return_code=0;
pkt_fd = packet_open();
if (pkt_fd == -1) {
-396,6 +397,7 @@ static int loop...