correct addition of single IP to pool
This commit is contained in:
parent
b2bd965594
commit
810e88371a
4 changed files with 6 additions and 4 deletions
3
Changes
3
Changes
|
|
@ -1,5 +1,6 @@
|
||||||
* Tue Dec 20 2005 Brendan O'Dea <bod@optus.net> 2.1.16
|
* Fri Jan 20 2006 Brendan O'Dea <bod@optus.net> 2.1.16
|
||||||
- Send configured magic-no in LCP EchoReq when LCP is opened.
|
- Send configured magic-no in LCP EchoReq when LCP is opened.
|
||||||
|
- Correct addition of single IP to pool (Jonathan Yarden).
|
||||||
|
|
||||||
* Mon Dec 19 2005 Brendan O'Dea <bod@optus.net> 2.1.15
|
* Mon Dec 19 2005 Brendan O'Dea <bod@optus.net> 2.1.15
|
||||||
- Drop backtrace.
|
- Drop backtrace.
|
||||||
|
|
|
||||||
1
THANKS
1
THANKS
|
|
@ -24,3 +24,4 @@ Michael Chapman <mike.chapman@optus.net>
|
||||||
Charlie Brady <charlieb@e-smith.com>
|
Charlie Brady <charlieb@e-smith.com>
|
||||||
Jon Morby <jon@fido.net>
|
Jon Morby <jon@fido.net>
|
||||||
Paul Martin <pm@zetnet.net>
|
Paul Martin <pm@zetnet.net>
|
||||||
|
Jonathan Yarden <jyarden@bluegrass.net>
|
||||||
|
|
|
||||||
4
l2tpns.c
4
l2tpns.c
|
|
@ -4,7 +4,7 @@
|
||||||
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
|
// Copyright (c) 2002 FireBrick (Andrews & Arnold Ltd / Watchfront Ltd) - GPL licenced
|
||||||
// vim: sw=8 ts=8
|
// vim: sw=8 ts=8
|
||||||
|
|
||||||
char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.154 2005/12/20 04:57:16 bodea Exp $";
|
char const *cvs_id_l2tpns = "$Id: l2tpns.c,v 1.155 2006/01/19 20:55:03 bodea Exp $";
|
||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
@ -3949,7 +3949,7 @@ static void initippool()
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// It's a single ip address
|
// It's a single ip address
|
||||||
add_to_ip_pool(inet_addr(pool), 0);
|
add_to_ip_pool(ntohl(inet_addr(pool)), 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
fclose(f);
|
fclose(f);
|
||||||
|
|
|
||||||
|
|
@ -43,5 +43,5 @@ rm -rf %{buildroot}
|
||||||
%attr(644,root,root) /usr/share/man/man[58]/*
|
%attr(644,root,root) /usr/share/man/man[58]/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Dec 20 2005 Brendan O'Dea <bod@optus.net> 2.1.16-1
|
* Fri Jan 20 2006 Brendan O'Dea <bod@optus.net> 2.1.16-1
|
||||||
- 2.1.16 release, see /usr/share/doc/l2tpns-2.1.16/Changes
|
- 2.1.16 release, see /usr/share/doc/l2tpns-2.1.16/Changes
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue