X-Git-Url: http://git.archive.openwrt.org/?p=project%2Ffirewall3.git;a=blobdiff_plain;f=ubus.h;h=263f827a9fd16e9312b2dd9df34fb74d473664a6;hp=58e598cbc2d7d438f5627109440398734c1cccbf;hb=HEAD;hpb=92281eb747b56e748b7c3d754055919c23befdd4 diff --git a/ubus.h b/ubus.h index 58e598c..263f827 100644 --- a/ubus.h +++ b/ubus.h @@ -1,7 +1,7 @@ /* * firewall3 - 3rd OpenWrt UCI firewall implementation * - * Copyright (C) 2013 Jo-Philipp Wich + * Copyright (C) 2013 Jo-Philipp Wich * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -30,7 +30,7 @@ void fw3_ubus_disconnect(void); struct fw3_device * fw3_ubus_device(const char *net); -void fw3_ubus_address(struct list_head *list, const char *net); +int fw3_ubus_address(struct list_head *list, const char *net); void fw3_ubus_zone_devices(struct fw3_zone *zone);