Skip to content

Commit

Permalink
MacOS 设置默认 utun packetinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
lanthora committed Oct 26, 2023
1 parent 74ae016 commit 5d0b41c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tun/darwin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ class DarwinTun {
int timeout;
int tunFd;

uint32_t packetinfo;
uint8_t packetinfo[4] = {0x00, 0x00, 0x00, 0x02};
};
} // namespace

Expand Down

0 comments on commit 5d0b41c

Please sign in to comment.