X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tunprotocol.cpp;h=f8bde7d3627279dfcf84e8cc3c1cfca00c136c07;hb=6eb319dbbc9305b984fd70e8e6d5adebf87edbb7;hp=534c8bdabfc77bb8aaad6a642fa1a196676f10bd;hpb=47f75fc7569e504a94a601cb3a81793400b134ac;p=greproxy diff --git a/tunprotocol.cpp b/tunprotocol.cpp index 534c8bd..f8bde7d 100644 --- a/tunprotocol.cpp +++ b/tunprotocol.cpp @@ -69,7 +69,7 @@ int TUNProtocol::fd() const return tunfd; } -void TUNProtocol::read_packet(Protocol *sender) +void TUNProtocol::read_packet(Sender *sender) { char buf[4096]; int ret = read(tunfd, buf, sizeof(buf));