dart_ping icon indicating copy to clipboard operation
dart_ping copied to clipboard

Bug ttl on IOS

Open Vasilisk7 opened this issue 11 months ago • 0 comments

You forgot to throw ttl in the constructor, you can add and make a release! Thank you very much in advance.

file dart_ping_ios.dart

  static DartPingIOS _init(
    String host,
    int? count,
    int interval,
    int timeout,
    int ttl,
    bool ipv6,
    PingParser? parser,
    Encoding encoding,
  ) {
    return DartPingIOS(fp.Ping(
      host,
      count: count,
      interval: interval.toDouble(),
      timeout: timeout.toDouble(),
      ipv6: ipv6,
    ));
  }

Vasilisk7 avatar Mar 21 '24 19:03 Vasilisk7