summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_vty.h
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2017-06-21 19:15:40 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2017-06-29 19:34:54 +0200
commit1318e7c84190d55d958cd412276115850d46f55f (patch)
tree8d8c1b5831997a4771cb7614575ad42c471b9862 /ospfd/ospf_vty.h
parent*: use vty_outln (diff)
downloadfrr-1318e7c84190d55d958cd412276115850d46f55f.tar.xz
frr-1318e7c84190d55d958cd412276115850d46f55f.zip
*: s/VTY_NEWLINE/VTYNL/g
Should be able to fit more vty_out onto one line now Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_vty.h')
-rw-r--r--ospfd/ospf_vty.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ospfd/ospf_vty.h b/ospfd/ospf_vty.h
index 6a34e99de..0bb5b6f3f 100644
--- a/ospfd/ospf_vty.h
+++ b/ospfd/ospf_vty.h
@@ -28,7 +28,7 @@
retv = str2area_id ((STR), &(V), &(F)); \
if (retv < 0) \
{ \
- vty_out (vty, "%% Invalid OSPF area ID%s", VTY_NEWLINE); \
+ vty_out (vty, "%% Invalid OSPF area ID%s", VTYNL); \
return CMD_WARNING; \
} \
}
@@ -39,13 +39,13 @@
retv = str2area_id ((STR), &(V), &(F)); \
if (retv < 0) \
{ \
- vty_out (vty, "%% Invalid OSPF area ID%s", VTY_NEWLINE); \
+ vty_out (vty, "%% Invalid OSPF area ID%s", VTYNL); \
return CMD_WARNING; \
} \
if (OSPF_IS_AREA_ID_BACKBONE ((V))) \
{ \
vty_out (vty, "%% You can't configure %s to backbone%s", \
- NAME, VTY_NEWLINE); \
+ NAME, VTYNL); \
} \
}