aboutsummaryrefslogtreecommitdiff
path: root/dhcp6c.c
diff options
context:
space:
mode:
authorJeremie Corbier <jeremie.corbier@resel.enst-bretagne.fr>2008-12-29 08:50:16 +0100
committerBjørn Mork <bjorn@mork.no>2010-08-06 15:37:37 +0200
commitfbf66aa98a358cd35f58844e59e420534f36cac4 (patch)
tree870802d187f57b7310d4baa48b50c382d9f3f62f /dhcp6c.c
parent35a72f9708bccef6092e37cdb2e31faf7ec04803 (diff)
200_dhcp6c-profiles.diff from the Debian package version 20080615-8:
"This patch enables users to define interface profiles so one can configure a group of interfaces the same way without having to provide an interface statement for each."
Diffstat (limited to 'dhcp6c.c')
-rw-r--r--dhcp6c.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/dhcp6c.c b/dhcp6c.c
index edeca80..35080e9 100644
--- a/dhcp6c.c
+++ b/dhcp6c.c
@@ -170,7 +170,7 @@ main(argc, argv)
else
progname++;
- while ((ch = getopt(argc, argv, "c:dDfik:p:")) != -1) {
+ while ((ch = getopt(argc, argv, "c:dDfik:p:P:")) != -1) {
switch (ch) {
case 'c':
conffile = optarg;
@@ -193,6 +193,9 @@ main(argc, argv)
case 'p':
pid_file = optarg;
break;
+ case 'P':
+ profile = optarg;
+ break;
default:
usage();
exit(0);