]> pilppa.com Git - uci.git/commitdiff
fix missing api change
authorFelix Fietkau <nbd@openwrt.org>
Tue, 1 Sep 2009 15:07:51 +0000 (17:07 +0200)
committerFelix Fietkau <nbd@openwrt.org>
Tue, 1 Sep 2009 15:07:51 +0000 (17:07 +0200)
ucimap-example.c

index affb0705ebaea1ab64fa09d98dc5f02d4d4eee3a..9906592acabff3e4551da001b769497b680fa648 100644 (file)
@@ -250,7 +250,7 @@ int main(int argc, char **argv)
                        (net->enabled ? "on" : "off"));
 
                for (i = 0; i < net->aliases->n_items; i++) {
-                       alias = net->aliases->item[i].section;
+                       alias = net->aliases->item[i].ptr;
                        printf("New alias: %s\n", alias->name);
                }
 #if 0