Bug 94 - why is Ipv4::GetIfIndexByAddress static ?
why is Ipv4::GetIfIndexByAddress static ?
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: network
pre-release
All All
: P3 normal
Assigned To: ns-bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-10-16 07:09 UTC by Mathieu Lacage
Modified: 2008-07-01 13:32 UTC (History)
0 users

See Also:


Attachments
remove static functions (3.82 KB, patch)
2007-11-07 08:57 UTC, Tom Henderson
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Lacage 2007-10-16 07:09:06 UTC
would it not be simpler to make GetIfIndexByAddress a non-static member method of the Ipv4 class ?
Comment 1 Tom Henderson 2007-11-07 08:57:46 UTC
Created attachment 84 [details]
remove static functions

made first method a member function of Ipv4; removed the second unused method
Comment 2 Tom Henderson 2007-11-15 00:12:50 UTC
patch applied as changeset 1824