projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd03626
)
[package] libpcap: fix typo in protocol api patch
author
Nicolas Thill
<nico@openwrt.org>
Tue, 12 May 2009 14:47:19 +0000
(14:47 +0000)
committer
Nicolas Thill
<nico@openwrt.org>
Tue, 12 May 2009 14:47:19 +0000
(14:47 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15802
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/libpcap/patches/106-protocol_api.patch
patch
|
blob
|
history
diff --git
a/package/libpcap/patches/106-protocol_api.patch
b/package/libpcap/patches/106-protocol_api.patch
index
09e3e88
..
dc5e45a
100644
(file)
--- a/
package/libpcap/patches/106-protocol_api.patch
+++ b/
package/libpcap/patches/106-protocol_api.patch
@@
-24,7
+24,7
@@
* we also have PF_PACKET support.)
*/
- sock_fd = socket(PF_PACKET, SOCK_RAW, htons(ETH_P_ALL));
-+ sock_fd = socket(PF_PACKET, SOCK_RAW,
handle
->opt.proto);
++ sock_fd = socket(PF_PACKET, SOCK_RAW,
p
->opt.proto);
if (sock_fd == -1) {
(void)snprintf(p->errbuf, PCAP_ERRBUF_SIZE,
"socket: %s", pcap_strerror(errno));