Yuxiang
2018-11-26 08:20:00 UTC
Hello everyone,
I met a question as I tried running examples/naming/object-names.cc. I find
that Config::Set ("/Names/client/eth0/Mtu", UIntegerValue (1234)) does not
have any effect on attributes mtu, but Config::Set ("/NodeList/1/eth0/Mtu",
UIntegerValue (1234)) could indeed alter the attribute value. I really
appreciate it if someone could tell me why the object name does not work.
Many thanks.
Best,
Yuxiang
I met a question as I tried running examples/naming/object-names.cc. I find
that Config::Set ("/Names/client/eth0/Mtu", UIntegerValue (1234)) does not
have any effect on attributes mtu, but Config::Set ("/NodeList/1/eth0/Mtu",
UIntegerValue (1234)) could indeed alter the attribute value. I really
appreciate it if someone could tell me why the object name does not work.
Many thanks.
Best,
Yuxiang
--
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.
Posting to this group should follow these guidelines https://www.nsnam.org/wiki/Ns-3-users-guidelines-for-posting
---
You received this message because you are subscribed to the Google Groups "ns-3-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-3-users+***@googlegroups.com.
To post to this group, send email to ns-3-***@googlegroups.com.
Visit this group at https://groups.google.com/group/ns-3-users.
For more options, visit https://groups.google.com/d/optout.