We should use %u instead of %d.
authorRoy Marples <roy@marples.name>
Wed, 5 Nov 2008 14:57:17 +0000 (14:57 +0000)
committerRoy Marples <roy@marples.name>
Wed, 5 Nov 2008 14:57:17 +0000 (14:57 +0000)
dnsmasq.in

index 5ae8b863c3cde3a9c3637c707a8e4f8304b80ccd..ae26cc5e808c002f948c8bc2fa6fb92339ccb964 100644 (file)
@@ -104,7 +104,7 @@ for D in ${DOMAINS}; do
                        else
                                IFS=$OIFS
                        fi
-                       DBUSDEST="${DBUSDEST} uint32:$(printf "%d" ${NUM}) string:${DN}"
+                       DBUSDEST="${DBUSDEST} uint32:$(printf "%u" ${NUM}) string:${DN}"
                else
                        NEWCONF="${NEWCONF}server=/${DN}/${NS%%,*}\n"
                fi