summaryrefslogtreecommitdiffstats
path: root/drivers/unix/packet_peer_udp_posix.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/unix/packet_peer_udp_posix.cpp')
-rw-r--r--drivers/unix/packet_peer_udp_posix.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/unix/packet_peer_udp_posix.cpp b/drivers/unix/packet_peer_udp_posix.cpp
index 7de54df043..a146a4a09f 100644
--- a/drivers/unix/packet_peer_udp_posix.cpp
+++ b/drivers/unix/packet_peer_udp_posix.cpp
@@ -160,7 +160,7 @@ void PacketPeerUDPPosix::close(){
::close(sockfd);
sockfd=-1;
sock_type = IP::TYPE_NONE;
- rb.resize(8);
+ rb.resize(16);
queue_count=0;
}
@@ -275,7 +275,7 @@ PacketPeerUDPPosix::PacketPeerUDPPosix() {
queue_count=0;
peer_port=0;
sock_type = IP::TYPE_NONE;
- rb.resize(8);
+ rb.resize(16);
}
PacketPeerUDPPosix::~PacketPeerUDPPosix() {