Permalink
Browse files

missing &

  • Loading branch information...
1 parent 63e9a42 commit 9b386edf765528325f57abeba2e4e3e5515b25f2 Caleb James DeLisle committed Jun 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 interface/TUNConfigurator_Illumos.c
@@ -98,7 +98,7 @@ void* TUNConfigurator_configure(const char* interfaceName,
// Since devices are numbered rather than named, it's not possible to have tun0 and cjdns0
// so we'll skip the pretty names and call everything tunX
struct lifreq ifr;
- memset(ifr, 0, sizeof(struct lifreq));
+ memset(&ifr, 0, sizeof(struct lifreq));
snprintf(ifr.lifr_name, LIFNAMSIZ, "tun%d", ppa);
ifr.lifr_ppa = ppa;
ifr.lifr_flags = IFF_IPV6;

0 comments on commit 9b386ed

Please sign in to comment.