Skip to content

Commit 830e7db

Browse files
authored
Issue 109 proto unbound local (#110)
* Rename `proto` to `protocol` closes #109 * Version increment for #109
1 parent 011b6d4 commit 830e7db

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

CHANGELOG.txt

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Version 1.4.3
2+
-------------
3+
* Fixed unbound `proto` variable error in Windows PyDivert error case
4+
15
Version 1.4.2
26
-------------
37
* Updated contact information

fakenet/diverters/windows.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,11 @@ def divert_thread(self):
203203
if pkt.proto:
204204
protocol = pkt.proto
205205
elif pkt.is_icmp:
206-
proto = 'ICMP'
206+
protocol = 'ICMP'
207207

208208
self.logger.error('ERROR: Failed to send %s %s %s packet',
209209
self.pktDirectionStr(pkt),
210-
self.pktInterfaceStr(pkt), proto)
210+
self.pktInterfaceStr(pkt), protocol)
211211
self.logger.error(' %s' % (pkt.hdrToStr()))
212212
self.logger.error(' %s', e)
213213

fakenet/fakenet.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def main():
274274
| | / ____ \| . \| |____| |\ | |____ | | | |\ | |__| |
275275
|_|/_/ \_\_|\_\______|_| \_|______| |_| |_| \_|\_____|
276276
277-
Version 1.4.2
277+
Version 1.4.3
278278
_____________________________________________________________
279279
Developed by FLARE Team
280280
_____________________________________________________________

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
setup(
2525
name='FakeNet NG',
26-
version='1.4.2',
26+
version='1.4.3',
2727
description="",
2828
long_description="",
2929
author="FireEye FLARE Team with credit to Peter Kacherginsky as the original developer",

0 commit comments

Comments
 (0)