Bugzilla – Bug 2749
Improper use of NS_ASSERT
Last modified: 2017-06-02 20:15:56 UTC
Created attachment 2861 [details] patch gcc-7 complained about two asserts in src/wimax/model/ss-net-device.cc: NS_ASSERT_MSG (SS_STATE_WAITING_RNG_RSP, ... (The token is an enumerator.) I believe this should be (full patch attached) NS_ASSERT_MSG (GetState () == SS_STATE_WAITING_RNG_RSP, ... I'm hesitant to push this, however, because I don't know this code at all.
please push, it looks correct to me
Fixed in r12906 98ce80ed