summaryrefslogtreecommitdiff
path: root/proto/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'proto/bfd')
-rw-r--r--proto/bfd/bfd.h6
-rw-r--r--proto/bfd/io.h2
2 files changed, 4 insertions, 4 deletions
diff --git a/proto/bfd/bfd.h b/proto/bfd/bfd.h
index f4ab3fcc..9b61be64 100644
--- a/proto/bfd/bfd.h
+++ b/proto/bfd/bfd.h
@@ -28,9 +28,9 @@
#define BFD_ECHO_PORT 3785
#define BFD_MULTI_CTL_PORT 4784
-#define BFD_DEFAULT_MIN_RX_INT (10 _MS)
-#define BFD_DEFAULT_MIN_TX_INT (100 _MS)
-#define BFD_DEFAULT_IDLE_TX_INT (1 _S)
+#define BFD_DEFAULT_MIN_RX_INT (10 MS_)
+#define BFD_DEFAULT_MIN_TX_INT (100 MS_)
+#define BFD_DEFAULT_IDLE_TX_INT (1 S_)
#define BFD_DEFAULT_MULTIPLIER 5
diff --git a/proto/bfd/io.h b/proto/bfd/io.h
index 3f166a47..641ee054 100644
--- a/proto/bfd/io.h
+++ b/proto/bfd/io.h
@@ -75,7 +75,7 @@ static inline void
tm2_start_max(timer2 *t, btime after)
{
btime rem = tm2_remains(t);
- tm2_start(t, _MAX(rem, after));
+ tm2_start(t, MAX_(rem, after));
}
*/