Displaying 2 results from an estimated 2 matches for "4833bb7".
Did you mean:
38c3bb7
2011 Jun 08
1
[PATCH] Don't try to guess the nameserver in ipconfig.
...ded this could be easily
implemented in an external script.
Closes: #594638
Signed-off-by: Ulrich Dangel <uli at spamt.net>
---
usr/kinit/ipconfig/main.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index 4833bb7..0fd35c1 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -176,11 +176,6 @@ static void postprocess_device(struct netdev *dev)
printf("IP-Config: %s guessed broadcast address %s\n",
dev->name, my_inet_ntoa(dev->ip_broadcast));
}
- if (dev->...
2011 Jun 14
0
[PATCH] ipconfig: do_pkt_recv() refix ret initialisation
...at spamt.net>
Signed-off-by: maximilian attems <max at stro.at>
---
Need to field test it yet, haven't checked it on usage.
usr/kinit/ipconfig/main.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index 4833bb7..6ad5588 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -343,7 +343,7 @@ struct netdev *ifaces;
*/
static int do_pkt_recv(int pkt_fd, time_t now)
{
- int ret;
+ int ret = 0;
struct state *s;
for (s = slist; s; s = s->next) {
--
1.7.5.3