Function flush

  • Delete all the address labels in the kernel. This does not restore any default settings.

    Parameters

    • globalOptions: GlobalOptions = {}

      Global parameters options that affects the command execution.

    Returns Promise<Command<Empty>>

    Throws

    ParametersError - Throws when passed parameters are invalid.

    Throws

    CommandError - Throws when the executed command fails.

    Example

    Import module

    import { addrlabel } from 'iproute';
    

    Flush address labels

    await addrlabel.flush();
    

Generated using TypeDoc