implement ICMP ping

This commit is contained in:
pufferffish 2024-04-11 01:46:08 +01:00
parent 4cf68c94dd
commit efc7e62704
4 changed files with 129 additions and 10 deletions

View file

@ -151,6 +151,8 @@ func main() {
go spawner.SpawnRoutine(tun)
}
tun.StartPingIPs()
if *info != "" {
go func() {
err := http.ListenAndServe(*info, tun)