Changeset 15802


Ignore:
Timestamp:
2009-05-12T16:47:19+02:00 (7 years ago)
Author:
nico
Message:

[package] libpcap: fix typo in protocol api patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/libpcap/patches/106-protocol_api.patch

    r15398 r15802  
    2525         */ 
    2626-       sock_fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL)); 
    27 +       sock_fd = socket(PF_PACKET, SOCK_RAW, handle->opt.proto); 
     27+       sock_fd = socket(PF_PACKET, SOCK_RAW, p->opt.proto); 
    2828        if (sock_fd == -1) { 
    2929                (void)snprintf(p->errbuf, PCAP_ERRBUF_SIZE, 
Note: See TracChangeset for help on using the changeset viewer.