diff options
| author | Tero Kontkanen <tero.k@granitedevices.fi> | 2017-05-12 16:38:52 +0300 |
|---|---|---|
| committer | Tero Kontkanen <tero.k@granitedevices.fi> | 2017-05-12 16:38:52 +0300 |
| commit | f096c464c7063b1405b9aa1ac26d36236f997225 (patch) | |
| tree | 647acecf5fead04913fca513aff549a664299a88 /busdevice.c | |
| parent | 998a39044725968bcf4aad37de5891bb4cbaa2fb (diff) | |
| download | SimpleMotionV2-f096c464c7063b1405b9aa1ac26d36236f997225.tar.gz SimpleMotionV2-f096c464c7063b1405b9aa1ac26d36236f997225.zip | |
Add info about valid IP address format
Diffstat (limited to 'busdevice.c')
| -rw-r--r-- | busdevice.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/busdevice.c b/busdevice.c index 6a89396..b73da3f 100644 --- a/busdevice.c +++ b/busdevice.c @@ -52,6 +52,7 @@ void smBDinit() bdInitialized=smtrue; } +//accepted TCP/IP address format is nnn.nnn.nnn.nnn:pppp where n is IP address numbers and p is port number static int validateIpAddress(const char *s, const char **pip_end, const char **pport_start) { |
