[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Sheflug] SuSE : Spaces in a log-prefix?



Hello

I can't seem to get this minor problem sorted out.

Using the variable :

$LOG_PR1="LAB_TEST_IN "

with a filter rule with this action

-j LOG --log-prefix $LOG_PR1

correctly logs the event but the trailing space gets lost in the log so that I get

LAB_TEST_ININ=eth0

instead of

LAB_TEST_IN IN=eth0

Anyone know the right way to get the desired result?

Lesley

---

Good luck to anyone in London.
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

GNU the choice of a complete generation.