On Fri, 17 May 2019 11:35:16 -0600
David Ahern wrote:
> On 5/6/19 10:18 AM, Nir Weiner wrote:
>
> > if (prate64) {
> > - fprintf(f, "peakrate %s ", sprint_rate(prate64, b1));
> > + print_string(PRINT_ANY, "peakrate", "peakrate %s ",
> > sprint_rate(prate64, b1));
> >
On 5/6/19 10:18 AM, Nir Weiner wrote:
> if (prate64) {
> - fprintf(f, "peakrate %s ", sprint_rate(prate64, b1));
> + print_string(PRINT_ANY, "peakrate", "peakrate %s ",
> sprint_rate(prate64, b1));
> if (qopt->mtu || qopt->peakrate.mpu) {
>
Add json output to tbf qdisc parameters.
Acked-by: John Haxby
Signed-off-by: Nir Weiner
Suggested-by: Liran Alon
---
tc/q_tbf.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/tc/q_tbf.c b/tc/q_tbf.c
index b9465b20d2be..fd824e67e4f2 100644
--- a/tc/q_