simple fix for bug 10676

Bug: 10676
Change-Id: I442aa2ce44309655190752e715279d7325647336
Reviewed-on: https://code.wireshark.org/review/5199
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Martin Kaiser <wireshark@kaiser.cx>
(cherry picked from commit ee1c74c3487812b3b361c66dfa7c2055e4df1588)
Reviewed-on: https://code.wireshark.org/review/5202