Displaying 3 results from an estimated 3 matches for "a454022".
Did you mean:
a454022e
2019 Jun 13
0
[PATCH] ipconfig: Implement support -d ...:dns0:dns1 options
...: 8.8.4.4
host : ottawa
rootserver: 0.0.0.0 rootpath:
filename :
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
---
usr/kinit/ipconfig/main.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index a454022e..2c905986 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -611,7 +611,7 @@ static int parse_device(struct netdev *dev, char *ip)
if ((cp = strchr(ip, ':'))) {
*cp++ = '\0';
}
- if (opt > 6) {
+ if (opt > 8) {
fprintf(stderr,...
2019 Jul 28
0
[klibc:master] ipconfig: Implement support -d ...:dns0:dns1 options
...lename :
Signed-off-by: Dimitri John Ledkov <xnox at ubuntu.com>
Signed-off-by: Ben Hutchings <ben at decadent.org.uk>
---
usr/kinit/ipconfig/main.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index a454022e..2c905986 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -611,7 +611,7 @@ static int parse_device(struct netdev *dev, char *ip)
if ((cp = strchr(ip, ':'))) {
*cp++ = '\0';
}
- if (opt > 6) {
+ if (opt > 8) {
fprintf(stderr,...
2019 Jan 18
0
[klibc:master] ipconfig: Implement classless static routes
...p_params[] = {
28, /* broadcast addr */
40, /* NIS domain name (why?) */
119, /* Domain Search Option */
+ 121, /* Classless Static Route Option (RFC3442) */
};
static uint8_t dhcp_discover_hdr[] = {
diff --git a/usr/kinit/ipconfig/main.c b/usr/kinit/ipconfig/main.c
index c65fed5..a454022 100644
--- a/usr/kinit/ipconfig/main.c
+++ b/usr/kinit/ipconfig/main.c
@@ -71,6 +71,8 @@ static inline const char *my_inet_ntoa(uint32_t addr)
static void print_device_config(struct netdev *dev)
{
+ int dns0_spaces;
+ int dns1_spaces;
printf("IP-Config: %s complete", dev->name);...