From 65120f32108b92f92d0718d71f83d45fc5ee88bd Mon Sep 17 00:00:00 2001 From: John Abraham Date: Sat, 14 May 2011 03:38:29 -0400 Subject: [PATCH] =?UTF-8?q?Bug=201151=20-=20variable=20=E2=80=98ifInAddrSr?= =?UTF-8?q?c=E2=80=99=20set=20but=20not=20used,=20g++4.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/socket/socket-bound-static-routing.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/examples/socket/socket-bound-static-routing.cc b/examples/socket/socket-bound-static-routing.cc index 0efa9d446..c0ebed9e1 100644 --- a/examples/socket/socket-bound-static-routing.cc +++ b/examples/socket/socket-bound-static-routing.cc @@ -131,8 +131,6 @@ main (int argc, char *argv[]) staticRoutingDstRtr->AddHostRouteTo (Ipv4Address ("10.1.1.1"), Ipv4Address ("10.10.2.1"), 2); staticRoutingRtr2->AddHostRouteTo (Ipv4Address ("10.1.1.1"), Ipv4Address ("10.1.2.1"), 1); - Ipv4InterfaceAddress ifInAddrSrc=ipv4Src->GetAddress (1,0); - // There are no apps that can utilize the Socket Option so doing the work directly.. // Taken from tcp-large-transfer example