Skip to content

Commit 395c889

Browse files
authored
Merge pull request #52 from singchia/fix/chain-type
fix: chain type
2 parents 4cf72fb + b209ddf commit 395c889

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ebtables/end.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ func (ebtables *EBTables) DeleteChain() error {
308308

309309
for _, table := range tables {
310310
newebtables.Table(table)
311-
command := newDeleteChain(newebtables.statement.chain)
311+
command := newDeleteChain(newebtables.statement.chain.String())
312312
newebtables.statement.command = command
313313
if newebtables.dr {
314314
newebtables.dryrun()

0 commit comments

Comments
 (0)