Skip to content

Commit 7f32348

Browse files
committed
Return original insns when filter is empty
1 parent 9cce7a2 commit 7f32348

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elibpcap.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
func Inject(filter string, insns asm.Instructions, opts Options) (_ asm.Instructions, err error) {
1111
if filter == "" {
12-
return
12+
return insns, nil
1313
}
1414

1515
injectIdx := -1

0 commit comments

Comments
 (0)