Soleil0707 / Sniffer

使用Python实现仿WireShark界面嗅探器
4 stars 0 forks source link

选择网卡出错 #1

Open kerdiox opened 3 years ago

kerdiox commented 3 years ago

你好,在我选择网卡抓包时出现了错误: Exception in Tkinter callback Traceback (most recent call last): File "D:\Python\Python39\lib\tkinter__init.py", line 1892, in call__ return self.func(*args) File "E:\Sniffer-main\gui.py", line 264, in switch_capture_panel index = int(iface[0]) ValueError: invalid literal for int() with base 10: 'libpcap'

kerdiox commented 3 years ago

找出问题所在了,应为iface[1]