From: Adriano Marto Reis Date: Tue, 7 Dec 2021 08:18:33 +0000 (+1000) Subject: babeld: C-style comments X-Git-Tag: base_8.2~92^2~1 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=896cf5c5f20f4bbd8c31323b588e55caaa550233;p=mirror%2Ffrr.git babeld: C-style comments Replacing C++-style comments with C-style comments. Signed-off-by: "Adriano Marto Reis" --- diff --git a/babeld/babel_interface.c b/babeld/babel_interface.c index 1dae93b0ed..e725fbffe9 100644 --- a/babeld/babel_interface.c +++ b/babeld/babel_interface.c @@ -484,9 +484,8 @@ DEFUN (babel_set_rtt_min, babel_ifp = babel_get_if_nfo(ifp); assert (babel_ifp != NULL); - babel_ifp->rtt_min = - rtt - * 1000; // value entered in milliseconds and stored as microseconds + /* The value is entered in milliseconds but stored as microseconds. */ + babel_ifp->rtt_min = rtt * 1000; return CMD_SUCCESS; } @@ -506,9 +505,8 @@ DEFUN (babel_set_rtt_max, babel_ifp = babel_get_if_nfo(ifp); assert (babel_ifp != NULL); - babel_ifp->rtt_max = - rtt - * 1000; // value entered in milliseconds and stored as microseconds + /* The value is entered in milliseconds but stored as microseconds. */ + babel_ifp->rtt_max = rtt * 1000; return CMD_SUCCESS; }