Skip to content
  • Thomas Haller's avatar
    core: avoid calling platform code with invalid ifindex · d45eed44
    Thomas Haller authored
    Since commit 945c904f "platform: assert against valid ifindex and
    remove duplicate assertions", it is no longer allowed to call certain
    platform functions with invalid ifindex.
    
    These trigger now an assertion. Note that the assertion is merely a
    g_return_val_if_fail(), hence in non-debug mode, this does not lead to
    a crash.
    
    Fixes: 945c904f
    d45eed44