Example #1
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     ctx.AddField("sent", sentPackets);
     ctx.AddField("recv", receivedPackets);
     ctx.AddField("maps", map.Count);
 }
Example #2
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     if (force_dest.IsDefault == false)
     {
         ctx.AddField("force_dest", force_dest);
     }
 }
Example #3
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     ctx.AddField("server", server);
     if (tls)
     {
         ctx.AddTag("TLS");
     }
     ctx.AddField("enc", encryption);
 }
Example #4
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     if (doh != null)
     {
         ctx.AddField("DoH", doh);
     }
     else
     {
         ctx.AddField(nameof(server), server);
     }
 }
Example #5
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     ctx.AddField("server", server);
 }
Example #6
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     ctx.AddField("rulesets", rules?.Count ?? 0);
     ctx.AddField("default", @default);
 }
Example #7
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     ctx.AddField("listen", listen);
 }
Example #8
0
 protected virtual void GetDetail(GetDetailContext ctx)
 {
 }
Example #9
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     ctx.AddField(nameof(cache), cache);
 }
Example #10
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     ctx.AddField("users", users?.Count ?? 0);
 }
Example #11
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     ctx.AddField("domain", domain);
 }
Example #12
0
 protected override void GetDetail(GetDetailContext ctx)
 {
     base.GetDetail(ctx);
     ctx.AddField("dest", dest);
 }