Permalink
Browse files

Fix presumed typo. (This couldn't have compiled.)

  • Loading branch information...
1 parent 58472e5 commit a5876b5bc51a55bce9104da233f8d227a34f2540 @guyharris guyharris committed Jul 5, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 pcap-libdlpi.c
View
@@ -237,7 +237,7 @@ dlpromiscon(pcap_t *p, bpf_u_int32 level)
{
int err;
- retv = dlpi_promiscon(p->hd, level);
+ retv = dlpi_promiscon(p->dlpi_hd, level);
if (retv != DLPI_SUCCESS) {
if (retv == DL_SYSERR &&
(errno == EPERM || errno == EACCES))

0 comments on commit a5876b5

Please sign in to comment.