summaryrefslogtreecommitdiffstats
path: root/setif.c
diff options
context:
space:
mode:
Diffstat (limited to 'setif.c')
-rw-r--r--setif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/setif.c b/setif.c
index 359ed24..07f5bac 100644
--- a/setif.c
+++ b/setif.c
@@ -159,7 +159,7 @@ static int do_anycast_setsockopt(int sock, int what, struct in6_addr *addr, int
* ifname - name of interface to add the address to
*/
int add_anycast_address(int sock, struct in6_addr *addr, const char *ifname) {
- int ifindex, s, ret;
+ int ifindex;
ifindex = if_nametoindex(ifname);
if (!ifindex) {