spcap 0.9.0 → 0.9.1
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/spcap/ippacket.rb +1 -1
- data/lib/spcap/tcppacket.rb +1 -1
- data/lib/spcap/version.rb +1 -1
- metadata +2 -2
data/lib/spcap/ippacket.rb
CHANGED
data/lib/spcap/tcppacket.rb
CHANGED
@@ -28,7 +28,7 @@ module Spcap
|
|
28
28
|
def dport ; tcp_dport ; end
|
29
29
|
|
30
30
|
# Return the value of 6-bits flag field.
|
31
|
-
def tcp_flags ; ( ip_data.getbyte(13) &
|
31
|
+
def tcp_flags ; ( ip_data.getbyte(13) & 0x3F ) ; end
|
32
32
|
|
33
33
|
# Return the value of 6-bits flag field as string like ".A...F".
|
34
34
|
def tcp_flags_s
|
data/lib/spcap/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spcap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-
|
12
|
+
date: 2014-04-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: log4r
|