Index: daemon/modules/tc/tc.c =================================================================== RCS file: /home/cvsroot/lms/daemon/modules/tc/tc.c,v retrieving revision 1.29 diff -u -r1.29 tc.c --- daemon/modules/tc/tc.c 7 Jul 2005 11:31:20 -0000 1.29 +++ daemon/modules/tc/tc.c 25 Aug 2005 22:01:17 -0000 @@ -257,6 +257,8 @@ if(!tc->one_class_per_host && j==g->db_nrows(nres)-1 && got_node && n_downrate && n_uprate) { g->str_replace(&htb_up, "%n", name); + g->str_replace(&htb_up, "%i", ipaddr); + g->str_replace(&htb_up, "%m", mac); g->str_replace(&htb_up, "%x", itoa(x)); g->str_replace(&htb_up, "%uprate", uprate); if(!n_upceil) @@ -264,6 +266,8 @@ else g->str_replace(&htb_up, "%upceil", upceil); g->str_replace(&htb_down, "%n", name); + g->str_replace(&htb_down, "%i", ipaddr); + g->str_replace(&htb_down, "%m", mac); g->str_replace(&htb_down, "%x", itoa(x)); g->str_replace(&htb_down, "%downrate", downrate); if(!n_downceil)