Changeset 5993 for luci2/ubus/libubus.c

Show
Ignore:
Timestamp:
03/31/10 16:50:06 (3 years ago)
Author:
Cyrus
Message:

ubus: Fix inconsistency with node name passed to wildcard hooks

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci2/ubus/libubus.c

    r5857 r5993  
    123123    if(!h->cb) 
    124124        return; 
    125     if(len != h->cnode_len) 
     125    if(len != h->cnode_len || h->wildcard) 
    126126        n = &node[h->cnode_len - 1]; 
    127127    switch(h->type)