Browse Source

Make netcfg-dchp not ask about name servers and such -- those should

be gotten from the dhcp server.

r1212
master
Tollef Fog Heen 21 years ago
parent
commit
b6d25a2d94
  1. 8
      debian/changelog
  2. 5
      netcfg-dhcp.c
  3. 2
      netcfg.c

8
debian/changelog

@ -1,3 +1,11 @@
netcfg (0.18) unstable; urgency=low
* NOT RELEASED YET
* Make netcfg-dchp not ask about name servers and such -- those should
be gotten from the dhcp server.
-- Tollef Fog Heen <tfheen@debian.org> Wed, 6 Nov 2002 12:24:36 +0100
netcfg (0.17) unstable; urgency=low
* added libdebian-installer2-dev to Build-Depends, because it is needed by

5
netcfg-dhcp.c

@ -65,7 +65,7 @@ static void netcfg_get_dhcp()
dhcp_hostname = NULL;
}
client->command(client, "input", "high", "netcfg/dhcp_hostname",
client->command(client, "input", "low", "netcfg/dhcp_hostname",
NULL);
client->command(client, "go", NULL);
client->command(client, "get", "netcfg/dhcp_hostname", NULL);
@ -151,8 +151,7 @@ int main(int argc, char *argv[])
do {
netcfg_get_common(client, &interface, &hostname, &domain,
&nameservers);
netcfg_get_interface(client, &interface);
client->command(client, "subst", "netcfg/confirm_dhcp",
"interface", interface, NULL);

2
netcfg.c

@ -254,7 +254,7 @@ void netcfg_die(struct debconfclient *client)
}
static void
void
netcfg_get_interface(struct debconfclient *client, char **interface)
{
char *inter;

Loading…
Cancel
Save