Changeset 22309


Ignore:
Timestamp:
2010-07-20T11:20:54+02:00 (7 years ago)
Author:
kerneis
Message:

[packages] ahcpd: apply unreleased upstream patch

  • Tue Jul 20 00:25:27 CEST 2010 Juliusz Chroboczek <jch@…>
    • Fix typo -- ignore autoconf prefixes for plen > 64.
  • Use uci_get_state instead of invoking uci directly.

Signed-off-by: Gabriel Kerneis <kerneis@…>

Location:
packages/ipv6/ahcpd
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • packages/ipv6/ahcpd/Makefile

    r21644 r22309  
    1010PKG_NAME:=ahcpd 
    1111PKG_VERSION:=0.51 
    12 PKG_RELEASE:=2 
     12PKG_RELEASE:=3 
    1313 
    1414PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • packages/ipv6/ahcpd/files/ahcp.sh

    r21644 r22309  
    3535 
    3636ahcp_addif() { 
    37         local name="$1" 
    38         local _uciname=`uci get -q -P /var/state network.$name.ifname` 
    39         append interfaces "${_uciname:-$name}" 
     37        local ifname=$(uci_get_state network "$1" ifname "$1") 
     38        append interfaces "$ifname" 
    4039} 
    4140 
Note: See TracChangeset for help on using the changeset viewer.