Skip to content

Commit c72ff4a

Browse files
authored
Merge pull request #1 from deckvig/master
fix the issue which may cause error "Network is Unreachable" on dhcp
2 parents eb0c69e + 9e7265b commit c72ff4a

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
为 DLNU DRCOM DHCP环境做了优化
2+
13
DrCOM 802.1X
24
=====
35
*如果你愿意捐助作者这个穷屌, 支付宝: [email protected]*

eapauth.py

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from binascii import hexlify
1010
import multiprocessing
1111
from eappacket import *
12+
import time
1213

1314
PACKET_OUTPUT = False
1415

@@ -112,6 +113,7 @@ def EAP_handler(self, eap_packet):
112113

113114
if self.login_info['dhcp_command']:
114115
display_prompt('802.1X Login successfully')
116+
time.sleep(10)
115117
if self.success_callback:
116118
multiprocessing.Process(target=self.success_callback,
117119
args=self.success_callback_args).start()

0 commit comments

Comments
 (0)