Permalink
Browse files

Issue 109 proto unbound local (#110)

* Rename `proto` to `protocol` closes #109
* Version increment for #109
  • Loading branch information...
strictlymike committed Feb 6, 2019
1 parent 011b6d4 commit 830e7db1ca50dc1129ce84d61057526b990a95fc
Showing with 8 additions and 4 deletions.
  1. +4 −0 CHANGELOG.txt
  2. +2 −2 fakenet/diverters/windows.py
  3. +1 −1 fakenet/fakenet.py
  4. +1 −1 setup.py
@@ -1,3 +1,7 @@
Version 1.4.3
-------------
* Fixed unbound `proto` variable error in Windows PyDivert error case

Version 1.4.2
-------------
* Updated contact information
@@ -203,11 +203,11 @@ def divert_thread(self):
if pkt.proto:
protocol = pkt.proto
elif pkt.is_icmp:
proto = 'ICMP'
protocol = 'ICMP'

self.logger.error('ERROR: Failed to send %s %s %s packet',
self.pktDirectionStr(pkt),
self.pktInterfaceStr(pkt), proto)
self.pktInterfaceStr(pkt), protocol)
self.logger.error(' %s' % (pkt.hdrToStr()))
self.logger.error(' %s', e)

@@ -274,7 +274,7 @@ def main():
| | / ____ \| . \| |____| |\ | |____ | | | |\ | |__| |
|_|/_/ \_\_|\_\______|_| \_|______| |_| |_| \_|\_____|
Version 1.4.2
Version 1.4.3
_____________________________________________________________
Developed by FLARE Team
_____________________________________________________________
@@ -23,7 +23,7 @@

setup(
name='FakeNet NG',
version='1.4.2',
version='1.4.3',
description="",
long_description="",
author="FireEye FLARE Team with credit to Peter Kacherginsky as the original developer",

0 comments on commit 830e7db

Please sign in to comment.