Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
laozhoubuluo authored Feb 16, 2024
1 parent e4f1639 commit f8dd399
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
dns_mapping = {}
_orig_getaddrinfo = getaddrinfo


def default_v4(): # 默认连接外网的ipv4
s = socket(AF_INET, SOCK_DGRAM)
s.connect(("1.1.1.1", 53))
Expand Down

0 comments on commit f8dd399

Please sign in to comment.