Skip to content
Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

Message Element Documentation

NAME

Message — Click element; prints a message on configuration

SYNOPSIS

Message(MESSAGE [, TYPE])

Ports: none

DESCRIPTION

The Message element prints a message, warning, or error when configured. It can be used to provide configuration-level documentation. The MESSAGE argument is the message (a string); TYPE should be MESSAGE, WARNING, or ERROR. The default is MESSAGE.

If TYPE is ERROR the router will fail to initialize.

EXAMPLES

   Message("This configuration is deprecated; use test-tun.click instead.", WARNING)
   tun :: KernelTap(1.0.0.1/8);
   ...

SEE ALSO

Error

Generated by click-elem2man from ../elements/standard/messageelement.hh:7 on 2017/10/17.

Clone this wiki locally