Displaying 4 results from an estimated 4 matches for "parse_proto".
2019 Jun 13
0
[PATCH] ipconfig: Implement support -d ...:dns0:dns1 options
...39;:'))) {
*cp++ = '\0';
}
- if (opt > 6) {
+ if (opt > 8) {
fprintf(stderr,
"%s: too many options for %s\n",
progname, dev->name);
@@ -647,6 +647,12 @@ static int parse_device(struct netdev *dev, char *ip)
case 6:
dev->caps = parse_proto(ip);
break;
+ case 7:
+ parse_addr(&dev->ip_nameserver[0], ip);
+ break;
+ case 8:
+ parse_addr(&dev->ip_nameserver[1], ip);
+ break;
}
}
}
--
2.20.1
2019 Jul 28
0
[klibc:master] ipconfig: Implement support -d ...:dns0:dns1 options
...39;:'))) {
*cp++ = '\0';
}
- if (opt > 6) {
+ if (opt > 8) {
fprintf(stderr,
"%s: too many options for %s\n",
progname, dev->name);
@@ -647,6 +647,12 @@ static int parse_device(struct netdev *dev, char *ip)
case 6:
dev->caps = parse_proto(ip);
break;
+ case 7:
+ parse_addr(&dev->ip_nameserver[0], ip);
+ break;
+ case 8:
+ parse_addr(&dev->ip_nameserver[1], ip);
+ break;
}
}
}
2004 May 28
1
ipconfig related question (do not get static IP setting)
Hi!! I found your ipconfig stuff in the udev rpm in SuSE 9.1. I'm about to
setup a initramfs (pretty cool - much better than initrd) to boot linux
diskless clients over the net. All the tools I would need, seem to be
there with ipconfig/nfsmount ...
I like to use the information I get from PXE/syslinux or Etherboot
writing something like:
2011 Jul 08
4
[PATCH 0/4] usr/kinit checkpatch
Various coding style fixes checkpatch warns about.
The goal is not to be 100% checkpatch compliant,
but to have more consistent coding style.
As this is a trivial patch serie, will land in 24 hours in klibc git,
unless of course ml review hits a bugger.
Checked with size(3) that the generated kinit, fstype, ipconfig and
nfsmount are the same.
maximilian attems (4):
[klibc] ipconfig: reduce