Skip to content

Commit 83b8fd0

Browse files
committed
fix: Regexp of network devices to remove
Fix the regexp that compares agaisnt the entwork interfaces to find urunc tap devices. Make it follow the correct naming convention we use for tap devices in urunc. Signed-off-by: Charalampos Mainas <charalampos.mainas@gmail.com>
1 parent 2cf9ae5 commit 83b8fd0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/network/network.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ func CleanupAllUruncTaps() error {
278278
}
279279

280280
var retErr error
281-
tapRe := regexp.MustCompile(`^tap_\d+_urunc$`)
281+
tapRe := regexp.MustCompile(`^tap\d+_urunc$`)
282282
for _, link := range links {
283283
attrs := link.Attrs()
284284
if attrs == nil {

0 commit comments

Comments
 (0)