diff --git a/examples/routing/olsr-hna.cc b/examples/routing/olsr-hna.cc index 5d0f5721d..12588e73d 100644 --- a/examples/routing/olsr-hna.cc +++ b/examples/routing/olsr-hna.cc @@ -14,6 +14,8 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + * Authors: Lalith Suresh + * */ // @@ -228,12 +230,12 @@ int main (int argc, char *argv[]) } } - // Create a special Ipv4StaticRouting instance for RoutingTableAssociation - // Even the Ipv4StaticRouting instance added to list may be used - Ptr hnaEntries = Create (); - if (assocMethod1) { + // Create a special Ipv4StaticRouting instance for RoutingTableAssociation + // Even the Ipv4StaticRouting instance added to list may be used + Ptr hnaEntries = Create (); + // Add the required routes into the Ipv4StaticRouting Protocol instance // and have the node generate HNA messages for all these routes // which are associated with non-OLSR interfaces specified above.