summaryrefslogtreecommitdiff
path: root/doc/developer/scripting.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/developer/scripting.rst')
-rw-r--r--doc/developer/scripting.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/developer/scripting.rst b/doc/developer/scripting.rst
index b0413619ab..708f65ff7d 100644
--- a/doc/developer/scripting.rst
+++ b/doc/developer/scripting.rst
@@ -271,7 +271,7 @@ has). For example, here is the encoder function for ``struct prefix``:
This function pushes a single value onto the Lua stack. It is a table whose equivalent in Lua is:
-.. code-block::
+.. code-block:: c
{ ["network"] = "1.2.3.4/24", ["prefixlen"] = 24, ["family"] = 2 }