mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-28 10:53:48 -06:00
Forgot to import the right things
Also compiling from the top of the tree doesn't recurse. curses
This commit is contained in:
parent
c5947fff56
commit
e251ef09e3
@ -2,7 +2,7 @@ use anyhow::{Error, Result};
|
||||
use lqos_bus::TcHandle;
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::Value;
|
||||
use crate::string_table_enum;
|
||||
use crate::{string_table_enum, dashy_table_enum};
|
||||
|
||||
string_table_enum!(DiffServ, besteffort, diffserv3, diffserv4, diffserv8, precedence);
|
||||
dashy_table_enum!(AckFilter, none, ack_filter, ack_filter_aggressive);
|
||||
@ -35,7 +35,7 @@ pub struct TcCake {
|
||||
#[derive(Default, Clone, Debug, Serialize, Deserialize)]
|
||||
struct TcCakeOptions {
|
||||
rtt: u64,
|
||||
bandwidth: String,
|
||||
bandwidth: BandWidth,
|
||||
diffserv: DiffServ,
|
||||
flowmode: FlowMode,
|
||||
ack_filter: AckFilter,
|
||||
|
Loading…
Reference in New Issue
Block a user