Forgot to import the right things

Also compiling from the top of the tree doesn't recurse. curses
This commit is contained in:
Dave Taht 2023-01-18 00:04:55 +00:00
parent c5947fff56
commit e251ef09e3

View File

@ -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,