func (a *Agent) setLatency(ms, rv int) error { if !a.cfg.UseRoot { return nil } if ms == 0 { return netutil.RemoveLatency() } return netutil.SetLatency(ms, rv) }
func (a *Agent) setLatency(ms, rv int) error { if ms == 0 { return netutil.RemoveLatency() } return netutil.SetLatency(ms, rv) }