/[pkgs]/devel/dhcp/dhcp-4.1.0-failover-ports.patch
ViewVC logotype

Contents of /devel/dhcp/dhcp-4.1.0-failover-ports.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Tue Jan 6 23:46:50 2009 UTC (10 months, 2 weeks ago) by dcantrel
Branch: MAIN
CVS Tags: F-12-split, dhcp-4_1_0-3_fc11, dhcp-4_1_0-2_fc11, dhcp-4_1_0-22_fc12, dhcp-4_1_0-1_fc11, dhcp-4_1_0-20_fc12, dhcp-4_1_0p1-5_fc12, dhcp-4_1_0-16_fc11, dhcp-4_1_0p1-13_fc13, dhcp-4_1_0-11_fc11, dhcp-4_1_0p1-11_fc12, dhcp-4_1_0-10_fc11, dhcp-4_1_0-15_fc11, dhcp-4_1_0-12_fc11, dhcp-4_1_0-14_fc11, F-11-split, dhcp-4_1_0p1-6_fc12, dhcp-4_1_0p1-7_fc12, dhcp-4_1_0p1-8_fc12, dhcp-4_1_0-4_fc11, dhcp-4_1_0p1-4_fc12, dhcp-4_1_0-13_fc11, dhcp-4_1_0-18_fc12, dhcp-4_1_0p1-14_fc13, dhcp-4_1_0-23_fc12, dhcp-4_1_0-6_fc11, dhcp-4_1_0-17_fc12, dhcp-4_1_0-19_fc12, dhcp-4_1_0p1-1_fc12, dhcp-4_1_0p1-3_fc12, dhcp-4_1_0p1-9_fc12, dhcp-4_1_0-9_fc11, dhcp-4_1_0p1-12_fc13, dhcp-4_1_0-26_fc12, dhcp-4_1_0p1-10_fc12, dhcp-4_1_0-8_fc11, dhcp-4_1_0-5_fc11, dhcp-4_1_0-25_fc12, dhcp-4_1_0-24_fc12, dhcp-4_1_0-7_fc11, dhcp-4_1_0-27_fc12, dhcp-4_1_0-21_fc12, dhcp-4_1_0p1-2_fc12, HEAD
File MIME type: text/x-patch
* Tue Jan 06 2009 David Cantrell <dcantrell@redhat.com> - 12:4.1.0-1
- Upgraded to ISC dhcp-4.1.0
- Had to rename the -T option to -timeout as ISC is now using -T
- Allow package rebuilders to easily enable DHCPv6 support with:
      rpmbuild --with DHCPv6 dhcp.spec
  Note that Fedora is still using the 'dhcpv6' package, but some
  users may want to experiment with the ISC DHCPv6 implementation
  locally.
1 diff -up dhcp-4.1.0/server/confpars.c.failover dhcp-4.1.0/server/confpars.c
2 --- dhcp-4.1.0/server/confpars.c.failover 2009-01-06 10:24:38.000000000 -1000
3 +++ dhcp-4.1.0/server/confpars.c 2009-01-06 10:24:38.000000000 -1000
4 @@ -1142,10 +1142,17 @@ void parse_failover_peer (cfile, group,
5 parse_warn (cfile, "peer address may not be omitted");
6
7 /* XXX - when/if we get a port number assigned, just set as default */
8 + /* See Red Hat Bugzilla 167292:
9 + * we do now: dhcp-failover 647/tcp
10 + * dhcp-failover 647/udp
11 + * dhcp-failover 847/tcp
12 + * dhcp-failover 847/udp
13 + * IANA registration by Bernard Volz <volz@cisco.com>
14 + */
15 if (!peer -> me.port)
16 - parse_warn (cfile, "local port may not be omitted");
17 + peer -> me.port = 647;
18 if (!peer -> partner.port)
19 - parse_warn (cfile, "peer port may not be omitted");
20 + peer -> partner.port = 847;
21
22 if (peer -> i_am == primary) {
23 if (!peer -> hba) {

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2