diff options
author | Guy Harris <guy@alum.mit.edu> | 2010-09-21 02:07:05 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2010-09-21 02:07:05 -0700 |
commit | 74b7b4259fde15dbb07cde3a5920e9f7e0ed4484 (patch) | |
tree | c7281be68f5536401eec53bbe0245b0fe79c2232 /gencode.c | |
parent | b26d8d2aa849c8021cdfa872901e82fb469460ef (diff) |
Return PCAP_ERROR_PROMISC_PERM_DENIED if you have permission to open the
DLPI device but don't have permission to put the interface in
promiscuous mode; some systems using DLPI work that way.
Change the libdlpi code to return a warning if you *are* using
physical promiscuous mode and you fail to turn on SAP promiscuous mode,
not if you *aren't* using physical promiscuous mode and you fail to turn
on SAP promiscuous mode; that matches with the no-libdlpi code does, and
matches what the comment says.
Pull dlattachreq up into dl_doattach().
Diffstat (limited to 'gencode.c')
0 files changed, 0 insertions, 0 deletions