2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 06:15:55 +00:00

Constify...

This commit is contained in:
Ted Lemon
2000-03-06 23:21:59 +00:00
parent 622b281781
commit 5e4477a9f0

View File

@@ -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));