]> git.pld-linux.org Git - packages/dhcp.git/blob - dhcp-extravars.patch
updated -client runtime deps
[packages/dhcp.git] / dhcp-extravars.patch
1 diff -ur dhcp-4.4.3.orig/client/dhclient.c dhcp-4.4.3/client/dhclient.c
2 --- dhcp-4.4.3.orig/client/dhclient.c   2022-04-03 16:57:37.339835264 +0000
3 +++ dhcp-4.4.3/client/dhclient.c        2022-04-03 16:59:11.169047699 +0000
4 @@ -89,9 +89,6 @@
5  static const char url [] = "For info, please visit https://www.isc.org/software/dhcp/";
6  #endif /* UNIT_TEST */
7  
8 -extern u_int16_t local_port;
9 -extern u_int16_t remote_port;
10 -
11  #if defined(DHCPv6) && defined(DHCP4o6)
12  int dhcp4o6_state = -1; /* -1 = stopped, 0 = polling, 1 = started */
13  #endif
14 diff -ur dhcp-4.4.3.orig/relay/dhcrelay.c dhcp-4.4.3/relay/dhcrelay.c
15 --- dhcp-4.4.3.orig/relay/dhcrelay.c    2022-03-08 09:26:03.000000000 +0000
16 +++ dhcp-4.4.3/relay/dhcrelay.c 2022-04-03 16:59:31.166092971 +0000
17 @@ -95,9 +95,6 @@
18         forward_untouched,      /* Forward without changes. */
19         discard } agent_relay_mode = forward_and_replace;
20  
21 -extern u_int16_t local_port;
22 -extern u_int16_t remote_port;
23 -
24  /* Relay agent server list. */
25  struct server_list {
26         struct server_list *next;
27 diff -ur dhcp-4.4.3.orig/server/mdb.c dhcp-4.4.3/server/mdb.c
28 --- dhcp-4.4.3.orig/server/mdb.c        2022-03-08 09:26:03.000000000 +0000
29 +++ dhcp-4.4.3/server/mdb.c     2022-04-03 16:59:48.006131100 +0000
30 @@ -67,8 +67,6 @@
31  
32  int numclasseswritten;
33  
34 -extern omapi_object_type_t *dhcp_type_host;
35 -
36  isc_result_t enter_class(cd, dynamicp, commit)
37         struct class *cd;
38         int dynamicp;
This page took 0.0973 seconds and 3 git commands to generate.