diff options
| author | Roy Marples <roy@marples.name> | 2009-03-20 10:21:12 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2009-03-20 10:21:12 +0000 |
| commit | 373e6ce084d5a03c07ddf11ddfc380b4da34fb1b (patch) | |
| tree | a2b2cf32fe41556c73b70cf7838424e33e0c0427 /if-options.c | |
| parent | 263e8fdd42025e4c1f3bafbad5fdc85d71eb832c (diff) | |
| download | dhcpcd-373e6ce084d5a03c07ddf11ddfc380b4da34fb1b.tar.xz | |
Add an option to reconfigure dhcpcd without rebinding.
This is primarily for interaction with 3rd party link management, such as PPP.
More work on #159.
Diffstat (limited to 'if-options.c')
| -rw-r--r-- | if-options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/if-options.c b/if-options.c index 7d048844..15e4bfee 100644 --- a/if-options.c +++ b/if-options.c @@ -49,6 +49,7 @@ const struct option cf_options[] = { {"background", no_argument, NULL, 'b'}, {"script", required_argument, NULL, 'c'}, {"debug", no_argument, NULL, 'd'}, + {"reconfigure", no_argument, NULL, 'e'}, {"config", required_argument, NULL, 'f'}, {"hostname", optional_argument, NULL, 'h'}, {"vendorclassid", optional_argument, NULL, 'i'}, @@ -310,6 +311,7 @@ parse_option(struct if_options *ifo, int opt, const char *arg) struct rt *rt; switch(opt) { + case 'e': /* FALLTHROUGH */ case 'n': /* FALLTHROUGH */ case 'x': /* FALLTHROUGH */ case 'T': /* We need to handle non interface options */ |
