commit | f7c2c7ca81b3c98e543a90bd8e124afa66783901 | [log] [tgz] |
---|---|---|
author | akmhoque <akmhoque@gmail.com> | Thu Feb 06 11:32:43 2014 -0600 |
committer | akmhoque <akmhoque@gmail.com> | Thu Feb 06 11:32:43 2014 -0600 |
tree | df5b81cc033669b084139da7921e6181400cc5ee | |
parent | 3fdf7618d1a9233715e7fafe15d52b0d7b549873 [diff] [blame] |
Routing Table Calculation Complete(Ls, Hp)
diff --git a/nlsr_lsa.hpp b/nlsr_lsa.hpp index a8d3861..2a7294a 100644 --- a/nlsr_lsa.hpp +++ b/nlsr_lsa.hpp
@@ -145,7 +145,14 @@ double getCorRadius() { - return corRad; + if ( corRad >= 0 ) + { + return corRad; + } + else + { + return -1; + } } void setCorRadius(double cr)