Errrr… Is it illegal to run Wireshark while directly connected

Errrr… Is it illegal to run Wireshark while directly connected