summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2015-06-22dhcpv4: add ifdef ubus for dhcp4 ipPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-19dhcpv4: add in_addr dhcpv4_mask and in_addr dhcpv4_addr to struct interfacePatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-18dhcpv4: fix unitialization of maskPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-18dhcpv4: fix char ubus_get_address4 int ubus_get_mask4 functionPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-15dhcpv4: add ubus_get_address4 ubus_get_mask4 functionPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-15dhcpv4: return pointerPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-15dhcpv4: use iface-namePatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-15dhcpv4: remove comment code linesPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-15dhcpv4: use ubus for ipv4 dhcp range calculationPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-15dhcpv4: add for_each ipv4-address array in ubus_get_address4 ubus_get_mask4 ↵Patrick Grimm
function Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-14dhcpv4: add ubus_get_address4 ubus_get_mask4 functionPatrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-06-14dhcpv4: read ipv4-address from UBUS to ADDRESS4Patrick Grimm
Signed-off-by: Patrick Grimm <patrick@lunatiki.de>
2015-05-21dhcpv6: fix typoSteven Barth
2015-05-13dhcpv6-pd: ignore /64 on interfaceSteven Barth
2015-05-11dhcpv4: remove invalid free()Steven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2015-04-21config: fix typo in reload_cbSteven Barth
2015-04-20dhcpv6: don't initialize IA-handing when turning down interfaceSteven Barth
2015-04-20remove leftover fallout from prefix class supportSteven Barth
2015-04-14Fix logic inversionSteven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2015-04-14Fix potential invalid memory accessSteven Barth
2015-04-10ra: always send current hop limitSteven Barth
2015-04-06dhcpv6: fix handling of infinite lifetimesSteven Barth
2015-03-30properly handle return codesJohn Crispin
Signed-off-by: John Crispin <blogic@openwrt.org>
2015-03-30dhcpv6: fix default assignment of non-64Steven Barth
Signed-off-by: Steven Barth <steven@midlink.org>
2015-03-30dhcpv6: prefer ula over other globalsSteven Barth
2015-03-30Readd missing ubus function definitionsSteven Barth
2015-03-29Fix hostname exportSteven Barth
2015-03-29Remove prefix coloring support, refine hybrid management modeSteven Barth
2015-03-29odhcpd: use proper struct msghdr initializers to fix build error on muslFelix Fietkau
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
2015-03-02Merge pull request #36 from fingon/compile-fixSteven Barth
DHCPv4: Compile fix on 64bit Debian.
2015-02-23DHCPv4: Compile fix on 64bit Debian.Markus Stenberg
2015-02-19Merge pull request #29 from mehlis/rework-dhcpv4_assignSteven Barth
dhcpv4_assign: rework the assignment logic
2014-11-06DHCPv6: enable flash-renumbering hack only for /64 prefixesSteven Barth
2014-10-30Merge pull request #30 from dedeckeh/bugfixessbyx
Fix IPv6 DNS server adddress selection
2014-10-30Fix IPv6 DNS server adddress selectionHans Dedecker
Fix selection of IPv6 DNS address in DHCPv6 and RA overwrite as an address could be selected with preferred lifetime zero while IPv6 addresses are in use with non zero preferred lifetimes. Fix tries to pick the IPv6 address with the longest preferred lifetime now. Fixes also the issue an IPv6 address with preferred lifetime zero could be returned in DHCPv6 DNS server option while an IPv6 address with non zero preferred lifetime is returned as DNS recursive RA option for the same set of available IPv6 addresses.
2014-10-22dhcpv4_assign: rework the assignment logicChristian Mehlis
2014-10-21Merge pull request #28 from mehlis/dhcpv4_assign-clarifysbyx
dhcpv4_assign: try 100 times to find a IP
2014-10-21dhcpv4_assign: try 100 times to find a IPChristian Mehlis
This is what the comment on the loop is saying. Also change the srand comment to match to the actual code.
2014-10-18dhcpv6: fix calculation of T1 and T2Steven Barth
2014-10-17ndp: more fixesSteven Barth
2014-10-17ndp: fix proxying behaviorSteven Barth
2014-10-17ndp: fix proc-settingSteven Barth
2014-10-16dhcpv6: allow flash renumbering in hybrid management modeSteven Barth
2014-10-16Begin rewrite of NDP-relaySteven Barth
2014-10-16router: add support for router addressSteven Barth
2014-10-16router: unicast RAs to RS senders by defaultSteven Barth
2014-09-25config: remove spurious free() callSteven Barth
2014-08-23odhcpd: don't kill static lease entriesSteven Barth
2014-08-19dhcpv4: fix manual dhcp-rangesSteven Barth
2014-08-19Fix compilation errors in last commitSteven Barth