I am trying to call a function implemented in a sub
class mac layer using a pointer to the abstract base mac layer. I tried both
DynamicCast and GetObject methods. However, in either case, mac addresses of
all of my nodes becomes 00:00:00:00:00:00(i.e. when I print them from sub class mac layer)
If I put that function
in the base layer it works, but this function is only specific to sub
class. Any help would be appreciated.
Thanks,