Message ID | 20230303143820.44598-1-christian.storm@siemens.com |
---|---|
State | Accepted |
Delegated to: | Stefano Babic |
Headers | show
Return-Path: <swupdate+bncBDD6BWV65QPBBEEMRCQAMGQEMMSBJPA@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23c; helo=mail-lj1-x23c.google.com; envelope-from=swupdate+bncbdd6bwv65qpbbeemrcqamgqemmsbjpa@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20210112 header.b=bqZ7xinY; dkim-atps=neutral Received: from mail-lj1-x23c.google.com (mail-lj1-x23c.google.com [IPv6:2a00:1450:4864:20::23c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4PSrCY3qC7z1yWx for <incoming@patchwork.ozlabs.org>; Sat, 4 Mar 2023 01:37:11 +1100 (AEDT) Received: by mail-lj1-x23c.google.com with SMTP id h24-20020a2eb0f8000000b00295ad0c2aaesf670066ljl.8 for <incoming@patchwork.ozlabs.org>; Fri, 03 Mar 2023 06:37:11 -0800 (PST) ARC-Seal: i=3; a=rsa-sha256; t=1677854225; cv=pass; d=google.com; s=arc-20160816; b=Y5+hgOfhuV7BzyXbTIFRUP/HUBvUQADWBU8vIHmCVQpIM09hjfLlLnJLhub7FcXPql B7tlPWulCcb13SGancj9Z2T/Vf687YJCWgGanG1VCtOWXZVIdYeCe8AERv4JH5SYhJtE wZagB2L7MBDP/4lOJKNrdNU09qKfWqVL1ja4QzEaaSZYfC+bipmbnsSMUvmeo2UiLKX6 X54kC2XdpYGHNVoKavhr/CCfztVCFEaCvXu4oTCym5Y0V7g7IMg5D4kdiKGef8k3WH6l Fd2TPc0fxT2JNs7l+m1Ltw2crFUzTx81umXCuhq1BXavpqhQe++aTZs57eDCkB5yyTM9 ClKQ== ARC-Message-Signature: i=3; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=NL8gWhzazHnQxBu/UuLmXd8o7Kjpo7onE92jrsOB5TQ=; b=K2wQPkDShEU7V+tlUrrk0OkFA2AQpWv1J5m2FLRL18J5AuClRdL0NDUkjqmYRhWgFs yosxlTv4OT9IKg6G+ZaHuqrLdzykcwpNBJkuQmN05QzACuelLupvle4dnrel863l12zk +LRzADUR0db/Dcufi5aAsTWel910fmcXAncTu1eUn5m36WmshhHMcGkMqr7gLrSaxR7D QO/FQeq4t1MJxZ1rrwZmb7VfXtBNka2gzTwVtXkRzkhJwniuFyTey6ZrdwovR3XoqGPY DJjNFpiQlp3d4nA1nPUngy2K0XU6HjDkGeTs/NFoXoFiqsfY99gM+uw7puH16tyZAngy Vi2A== ARC-Authentication-Results: i=3; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=ak2yQCi5; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:fe1a::604 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; t=1677854225; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:x-original-authentication-results :x-original-sender:mime-version:message-id:date:subject:cc:to:from :sender:from:to:cc:subject:date:message-id:reply-to; bh=NL8gWhzazHnQxBu/UuLmXd8o7Kjpo7onE92jrsOB5TQ=; b=bqZ7xinYprBp1Ija2N86JpfwZg7G9ptC4uhWhByzRgXXgzF3+PrKeULGyzXIviYGmc /Rl3wFLrG8PQ/GWUBnVf6spl8Arl/98fpQcxAUd2gu+CPNn78z/gtha57sEeOUL9/hTF Kj7x/FG6Nus3lnp2JwyIieHvVgETgl5bV/eFKbiQJK/MwQDSUBl7p7N0YOsRKVc8xZsl PArtSHNBvelgYEe+E6TM/FJpyVRr3okInBOLWHmwc2HmF4YOtY225Udf7kaEgBWBlmTT MmJORgpcWiX1TRnEDuXIXsUFj4LvAvK8SWGDf1gHdjyhco2xJKmetJeztgUZOS0piQTS +k0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677854225; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence :x-original-authentication-results:x-original-sender:mime-version :message-id:date:subject:cc:to:from:x-gm-message-state:sender:from :to:cc:subject:date:message-id:reply-to; bh=NL8gWhzazHnQxBu/UuLmXd8o7Kjpo7onE92jrsOB5TQ=; b=1a5ujNX6fZWvD6cNEwq4kAQN0t6ZqMZVLNVc9ytmbxsc76B918pYH1AjQoyQqUqjVg OjUsipx/ReMzWPblh+ddA9W54bWz8Gm24IEYooNiUmwLaty0gCUIs4MhU0d++HMnytOe C8zPBn+V8sFMa8VMiS6cWBo+DtCEh/cd2nqj+/ij7L0LyRhiiNrYIX2hZlQh2cypZyAJ +F/a22Eiq8DNnAYYdlm0B9FX2PF8ERlpGDm1lBGEfdHSOjXpg8X/qPPNFjI0Yap24R55 ss+MLxDVtHci/P/nrwqJdpcP3mxWTBO1ai22slXVKZuOkglmKSPG/3lzo8frZeUSufVG BjRw== Sender: swupdate@googlegroups.com X-Gm-Message-State: AO0yUKUFtk3lQI21mtXgxBofIZAcxOhYoDV+7XJZ1/yRgfZXSrVY4PWb bmQ1WWV05N9Oa+9FD+uVotw= X-Google-Smtp-Source: AK7set9ekxb58TEQeIyMq5tno8hCvwDyFPIjjCjpuenqaWoN1lHY0f7Cp2lL9WB6L5AHbWDHGIsXNQ== X-Received: by 2002:ac2:5613:0:b0:4e2:337d:65d6 with SMTP id v19-20020ac25613000000b004e2337d65d6mr684035lfd.7.1677854225353; Fri, 03 Mar 2023 06:37:05 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a05:6512:15a2:b0:4dd:8403:13fe with SMTP id bp34-20020a05651215a200b004dd840313fels2577985lfb.3.-pod-prod-gmail; Fri, 03 Mar 2023 06:37:03 -0800 (PST) X-Received: by 2002:ac2:46e5:0:b0:4db:3e31:20fa with SMTP id q5-20020ac246e5000000b004db3e3120famr650130lfo.53.1677854223572; Fri, 03 Mar 2023 06:37:03 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1677854223; cv=pass; d=google.com; s=arc-20160816; b=BGAh0NRM2BfgOLcu46dVHzg5EFzJkPnPnKD7dUv5wg80M2wO4cDcFMdszly0Sy1A1j SXyawm7LhoApH2tfivAh2VhRSI5VzeqV4LJ49Q/xrnkX0xeIRVtEZAsmsGMb69G6Rp/+ PcKFSgjcpecW03JZIUdP4l+UJhkvbOu7okex7K3byzKwszn5WgwZHbA7TpnF/wMQ6CT/ g+niZkZNs3N6KMc+oX6lfUfV0hW3yQ05eozsvH9iujQFnGRwN/V/UNeszIwdvu2+FYsO rbM3hjztWQL+bS7RrcyHO27NCrROYHx/RZbxl6UpV/yP6hGLB6n9/mLokoiiRJ4mqIay Xllg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:content-transfer-encoding:message-id:date:subject:cc :to:from:dkim-signature; bh=lMFP7754wDV7PUc1uguY3G/TPrPah5T5xsE2VxgNTz8=; b=xqVdAddBWEEtuuFgKrbJsvMvEkoRFsPTgElcqDn+qBDMU4ehkjCOUeMb6zRePBeCSn 4HS/TMIDzPj65RSvtlVAYkd0nE9YVyr/B3ybZmny2+lIYFkugTZ1eGfBzQGpk3xAqhxw yPO43j4ESbBqQT3OmrfjD7N+UfEs0ZG7cNklWw47yhkPy7UUqAncBb7I+DAs4IHyUXgF x60YKZADBYV3SmqsxLe42anmt3abSiEzfE8Q7s2dwW39hrfkqcLHB5Lky+AFryVYKiSo Lu/klzayfIGZr4lJRSsr/ObeGuPCRSf3cGS7uR6kFPrNRhK196wQE1x5BJc17TtdKh3n ljZg== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=ak2yQCi5; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:fe1a::604 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from EUR03-DBA-obe.outbound.protection.outlook.com (mail-dbaeur03on20604.outbound.protection.outlook.com. [2a01:111:f400:fe1a::604]) by gmr-mx.google.com with ESMTPS id d29-20020a0565123d1d00b004dd84067a4asi130583lfv.4.2023.03.03.06.37.03 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 03 Mar 2023 06:37:03 -0800 (PST) Received-SPF: pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:fe1a::604 as permitted sender) client-ip=2a01:111:f400:fe1a::604; ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AZ3qGvjihG7oNjg5Ccn0jWCmue6N7v3omCGWZ0Dm7xoIDN55U/pjKfoZIOs3BYRoEzVqCu+sHcP6bAQrRNVgsHqZfgdkJsaY3ohvmalXe/ODxQwnSyU9senBvIvzss4an+tUdURxqtg6WfzVd16b1fu/hNdxpB7yrXvg8mgxGPtbnOyaRP/GP91bjIgF4MPhK/l3gxPGgZUMVBg+rRlHtXtNgfqXsl29E68EFhh5h8I62yfD9c9+w+XMGQmGe2Nhl3a7O+Oxpeacbb0DkDFRb3HeCFd5agEzCiMExMwH139umSUI+kqF0147c2paic2H6eCiKG8pVB5f/sQWBkHMeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=lMFP7754wDV7PUc1uguY3G/TPrPah5T5xsE2VxgNTz8=; b=agbZ9Is1An2bij+p0vRnvfbcZ2KNbl+oianOYq1xuUv3U/YO38zboR6cNmnihZE4bsfoTb0bKeStZN8YfbQxWM/Jqh9ZGMIVXbSOU7q4iDFZsQu0pjJfBiJ/tgrv5Ya6TG8bF3eVV60f+GJ2ZCGNVPFua7hmdMzrJZbgFGvd90wyazFTMi0rtT9S7+PAMiJj3lD2h/hkWBEiN3ZBH9CatH+oj3ah6w4OYmOXwbvOtD+bWAFdrKRQr7sJCiS9/Y7EtTPb7JpWix3b8Ov/s5bICFdpjAW3sG7l0Fb2mNrT2MDymmL4L+MKtwu81pwlZ6ABMlDTxts79Vf2smVotYWkJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=siemens.com; dmarc=pass action=none header.from=siemens.com; dkim=pass header.d=siemens.com; arc=none Received: from AS8PR10MB7042.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5a9::19) by AM7PR10MB3735.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:de::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6156.18; Fri, 3 Mar 2023 14:37:02 +0000 Received: from AS8PR10MB7042.EURPRD10.PROD.OUTLOOK.COM ([fe80::2b63:57d3:f411:7d1d]) by AS8PR10MB7042.EURPRD10.PROD.OUTLOOK.COM ([fe80::2b63:57d3:f411:7d1d%7]) with mapi id 15.20.6134.030; Fri, 3 Mar 2023 14:37:02 +0000 From: Christian Storm <christian.storm@siemens.com> To: swupdate@googlegroups.com Cc: Christian Storm <christian.storm@siemens.com> Subject: [swupdate] [PATCH] suricatta/lua: Fix libconfig bool handling Date: Fri, 3 Mar 2023 15:38:20 +0100 Message-Id: <20230303143820.44598-1-christian.storm@siemens.com> X-Mailer: git-send-email 2.39.2 Content-Type: text/plain; charset="UTF-8" X-ClientProxiedBy: FRYP281CA0016.DEUP281.PROD.OUTLOOK.COM (2603:10a6:d10::26) To AS8PR10MB7042.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:20b:5a9::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8PR10MB7042:EE_|AM7PR10MB3735:EE_ X-MS-Office365-Filtering-Correlation-Id: 210ea129-705a-4667-b582-08db1bf4c076 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: RSH++wQ6cd9Aet8jTKpupkifSJNBaCM/inaBGULkXuxtX1FgUiSK4Ex9U8l8BF5Vs6cyFP4SF57Bst/0aokgVpBxvpyRVpnIvqmX4vIymYoNkNrIa+4a7twv5fzQuxnWNHyzkUMUh8m8mT7INlp/10wRs+EvSM+z/Y5ziV3+foBtYlFaLrP3Z05L5auvy0MYNpBpAQhd106uFBWVWwJo0zB6+FRdssT1DWibE4JhdCWkVs99TaSfKlVU5JsOSzfxxsnKgLdm9HniI4Bx/pLVNijDzzt4txI9P4ucI4ZxMfHe4vhiD+tBc9DT8xRGTz2a8NS21Yhe7PSMvh73CQ+029JTmbnNnNbAi+p19R4flei3B69XhSinf3//ppp1BRhASQD5K/2laxPxjUCECNlyjF6phZbrm9hbUX9HEOig7uTFI2gQlkqhvUBfvxHRmB9UyJHfVkMrsZjxFfp6ad2MLRYRHBJfNTZKTa2nDW/c941OSsBuUkI64yJ/ntsp0B9Y0gqV9/Z9AxMIVVRSefSww/LdL2rOVU+XhfnJ4JW2zUrlU5QEdmcpTYf4tim2Z8S3ZjEegqGNHPQZFe8Xc2Yj+aQTcpNzV/FsB+iy0J42S92fx6svCf6Sx69HSEqAXVLLGMVzmgBXpBcoNmGkw6cE1A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR10MB7042.EURPRD10.PROD.OUTLOOK.COM;PTR:;CAT:NONE;SFS:(13230025)(4636009)(366004)(39860400002)(376002)(136003)(396003)(346002)(451199018)(83380400001)(316002)(478600001)(6512007)(6486002)(66556008)(107886003)(2616005)(6666004)(8936002)(186003)(86362001)(41300700001)(5660300002)(1076003)(4744005)(44832011)(2906002)(66946007)(6506007)(8676002)(6916009)(38100700002)(82960400001)(66476007)(4326008)(36756003);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: FL9IxkgUEYSIhBL9rM3MI+fwmbRi5gGW1BODLMD5de5dX95ZD5zkDutE9MZIbpkXZ5roi0xba3pQHo0ePl1UJl4ZRBOgfyFI6ARYEwqV69xGb6BJXckp1rKgeI4I6eGFMionqj9cMl4ZUlWXMA6Fm/d6vdz1++bQLm3ECJCq+lDziwEYh21/6Mbjkwzh9KlaMmdgg1Lt6jHRmb/CA29OEEj+RN3Hpm2K4QtUDC+jez7ljSQ7rgstU70BrmJ4d5GBCBU83KRxJG/k0rcllMeLPtdvF6fV6dyY3ueseUcawCzImolYLH4d3Oe5L2LMGI33oFHS4JAU/G5RMA8NTPsIwMP+zw7wR3OmjRqwXq3Vl9fy4wv2OVhNvYt0HdD1JU5PvyyndUPTmE5ubsc1pjL9DcPucH2wSe9q6f6FBEwTTYpc+cJWDCbEEJpNtuSQKXYVC5hIhVe/PkFavBpCVAqUfbiaWINt2z2n+/2jUr6XKISqzyvoGIppRouUZjG3mfGTbLc7ti0Z8TwjGIVnEw9Cp5iKVNgNPO3rzEeFd6MCrwT0nQAk8Nn9L0nffCqBfG6KFUqOEkkivTdZvHYBYDTDu1DdNM2lDxHyCJaTl+Ga/RyBthnbkXwRLowW8IWkMG2yCFsc6DMQ7WVRFqIimaDou+pNc+pWP+qNNjzz3FdvE9LT/FPDVNmgztx7i9lqYpBYWY9oYHz74CdwAtbUe3Ucjs9mmTzkFy2CoHkzmAbIliPjPSx3ABOgH6tIPPxzUBsNa+s4Jspn7Fx9PIQqUlF2gNwlwMDWOXG6EdLEdGhh7veaGy2zeLVtx83FmdV9Iq8oKOVycznuszCO87ivD8QsSNKZAaAIaD5aHX0DYD3UkKQWfOhNU1Ie4GC6mSRaQ7JN7xYMLZPE6BDOJAJPFklgQ/NvaEOQUX7zGW3vOxUGnCNBIuD2azeQCNwfiQqIInFMRxO/oy5ciVSCPnZZoyndeHnUUqjmSfYrU14KQytoS3wifvYWEoAFvA1AHJRLK6CU4N5iDEdv58/P0asGBt4+X1tyGIhLXypRDOg6vZUOipYE6ImpMAORfLO17QAEo2+So+KXO2e8U7Wi9BRdd86tstCeMTb+G+y9lwm+C9sdIBrxirXGBrPGptdVrQqoqsjsGCqLaWMTPsxM13i4Z9/mtjFwk+uBn/uBstAjKxZ95sh5c9SCTmJyj81kqLKgw7nIW8SNRNUGhGF1QqCGl7J9mAuco1Ide+52x9TT+UGvbvH+flvX+7ELAFBZa9qWShrzKFc1FrOI2kZUemetcaP8mOrx/nJR1XepQSyWarsGzc9ZO2n2+x9Zq+sszlCRG6yTk7BVbACckTALazfGT6wxwHTQAbMQtVafRUpWsbVS2X0YPVcp89Z7KEyygXBAcKJgcrImPoMYhl5GjvlTZmrlpI6L9QRmgihZwJTfD6N8y3O8z2HKA7/HREadoG7VoDjiCka6y/aLtwXwIghUKlYQdDEQ6ECsxStvuIP4O8RmLnYrcnKX+cZncMGQ3zaT0BovIbhIA57m22K0s/Btpo+0c+wcc1fTCBxR5jyjomzXOFXmdiRmmmVOpDYOi6pjkhbFIOUNm7gW6aeDqnGwbdsHQ606VGQZ6uSDZ262nhBOetNioLf4ONCMEP7Y5S6lyC7CRJbYYnfLdHMBXKueRxMSVA== X-OriginatorOrg: siemens.com X-MS-Exchange-CrossTenant-Network-Message-Id: 210ea129-705a-4667-b582-08db1bf4c076 X-MS-Exchange-CrossTenant-AuthSource: AS8PR10MB7042.EURPRD10.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2023 14:37:02.0844 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 38ae3bcd-9579-4fd4-adda-b42e1495d55a X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: PYAR64qWprbzAFPPRSr4nPcvZE2rju6exvEkN/Avf7pb2wIhP1soUyBXsRtocDiuSuj18t0nbmmUWmmDxuLWzQ+bvfQeUpiksXDjzfMJENY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR10MB3735 X-Original-Sender: christian.storm@siemens.com X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@siemens.com header.s=selector2 header.b=ak2yQCi5; arc=pass (i=1 spf=pass spfdomain=siemens.com dkim=pass dkdomain=siemens.com dmarc=pass fromdomain=siemens.com); spf=pass (google.com: domain of christian.storm@siemens.com designates 2a01:111:f400:fe1a::604 as permitted sender) smtp.mailfrom=christian.storm@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
suricatta/lua: Fix libconfig bool handling
|
expand
|
diff --git a/suricatta/server_lua.c b/suricatta/server_lua.c index e0b38b15..35331264 100644 --- a/suricatta/server_lua.c +++ b/suricatta/server_lua.c @@ -1826,7 +1826,7 @@ static int config_section_to_table(void *setting, void *data) break; case CONFIG_TYPE_BOOL: push_to_table((lua_State *)data, entry->name, - config_setting_get_bool(entry)); + (bool)config_setting_get_bool(entry)); break; case CONFIG_TYPE_FLOAT: push_to_table((lua_State *)data, entry->name,
libconfig's config_setting_get_bool() returns an int which is consequently not processed as bool by push_to_table(). Fix it so that bool values are actually boolean Lua values. Signed-off-by: Christian Storm <christian.storm@siemens.com> --- suricatta/server_lua.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)