summaryrefslogtreecommitdiff
path: root/dhcpctl
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>2000-03-06 23:21:59 +0000
committerTed Lemon <source@isc.org>2000-03-06 23:21:59 +0000
commit5e4477a9f06e16675d97541f46d866278773096b (patch)
tree06302887dbd9632d4902647a62bef6a93f5a10c2 /dhcpctl
parent622b28178111f27d59b6cf952a8d0a3436910e74 (diff)
downloadisc-dhcp-5e4477a9f06e16675d97541f46d866278773096b.tar.gz
Constify...
Diffstat (limited to 'dhcpctl')
-rw-r--r--dhcpctl/cltest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/dhcpctl/cltest.c b/dhcpctl/cltest.c
index 4cbc9cf8..ba4ddf83 100644
--- a/dhcpctl/cltest.c
+++ b/dhcpctl/cltest.c
@@ -24,7 +24,7 @@ int main (argc, argv)
dhcpctl_data_string result, groupname, identifier;
int i;
int mode;
- char *action;
+ const char *action;
if (!strcmp (argv [1], "-u")) {
mode = up;
@@ -52,7 +52,8 @@ int main (argc, argv)
}
memset (&interface_handle, 0, sizeof interface_handle);
- status = dhcpctl_new_object (&interface_handle, connection, "interface");
+ status = dhcpctl_new_object (&interface_handle,
+ connection, "interface");
if (status != ISC_R_SUCCESS) {
fprintf (stderr, "dhcpctl_new_object: %s\n",
isc_result_totext (status));