nft rule post json
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s
All checks were successful
Build and Deploy MITM Webserver / build (push) Successful in 9s
This commit is contained in:
@@ -21,4 +21,22 @@ export interface TableOut {
|
||||
|
||||
export interface RulesetModel {
|
||||
tables: TableOut[];
|
||||
}
|
||||
}
|
||||
|
||||
export interface CreateRuleRequest {
|
||||
family: string;
|
||||
table: string;
|
||||
chain: string;
|
||||
expr: Expr;
|
||||
position?: any | null;
|
||||
comment?: string | null;
|
||||
}
|
||||
|
||||
/**
|
||||
* ExecResult matches backend ExecResult
|
||||
*/
|
||||
export interface ExecResult {
|
||||
rc: number;
|
||||
stdout?: string | null;
|
||||
stderr?: string | null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user