diff options
Diffstat (limited to 'wiretap/btsnoop.c')
-rw-r--r-- | wiretap/btsnoop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wiretap/btsnoop.c b/wiretap/btsnoop.c index 2591f78d8e..e0f266ba41 100644 --- a/wiretap/btsnoop.c +++ b/wiretap/btsnoop.c @@ -245,7 +245,7 @@ int btsnoop_dump_can_write_encap(int encap) /* XXX - for now we only support WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR and WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR */ if (encap != WTAP_ENCAP_BLUETOOTH_H4_WITH_PHDR && encap != WTAP_ENCAP_BLUETOOTH_LINUX_MONITOR) - return WTAP_ERR_UNSUPPORTED_ENCAP; + return WTAP_ERR_UNWRITABLE_ENCAP; return 0; } |