Permalink
Browse files

Missed a 'def'

  • Loading branch information...
Neil Tallim
Neil Tallim committed Jun 23, 2017
1 parent beb4be2 commit f2835cfa7a332af180acdf396eff7ae704256fc4
Showing with 1 addition and 1 deletion.
  1. +1 −1 staticDHCPd/doc/customisation/scripting.rst
@@ -167,7 +167,7 @@ Example
::
import databases.generic.Definition
handleUnknownMAC(packet, method, mac, client_ip, relay_ip, port):
def handleUnknownMAC(packet, method, mac, client_ip, relay_ip, port):
if mac == 'aa:bb:cc:dd:ee:ff':
return databases.generic.Definition(
ip='192.168.0.100', lease_time=600,

0 comments on commit f2835cf

Please sign in to comment.